Interface CustomBuildServices
-
public interface CustomBuildServices
CustomBuildServices provides methods for classes extending
CustomCodeAction
to access InstallAnywhere build settings, add action dependencies and work with access paths.An instance of
CustomBuildServices
is provided toCustomCodeActions
at build time.- See Also:
CustomCodeActionBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDependency(java.lang.String path)
The addDependency() method adds a dependecy file to the installer archive.java.lang.String
createPathBasedOnAccessPath(java.lang.String filePath)
Takes a path and removes the portions represented by the path variable (replacing it with an access path variable).BuildDistributionSettings
getBuildDistributionSettings()
Returns the build distribution settings.BuildTargetSettings[]
getBuildTargetSettings()
Returns the build target settings.java.lang.String
getSubstitutedFilePath(java.lang.String filePath)
Removes the access path variables and substitute them with the path represented by the variable.
-
-
-
Method Detail
-
addDependency
void addDependency(java.lang.String path)
The addDependency() method adds a dependecy file to the installer archive. The files included using this method will be added to installer classpath.
- Parameters:
path
- Dependency file path (zip or jar file)
-
createPathBasedOnAccessPath
java.lang.String createPathBasedOnAccessPath(java.lang.String filePath)
Takes a path and removes the portions represented by the path variable (replacing it with an access path variable).
- Parameters:
path
- File path
-
getSubstitutedFilePath
java.lang.String getSubstitutedFilePath(java.lang.String filePath)
Removes the access path variables and substitute them with the path represented by the variable.
- Parameters:
path
- File path
-
getBuildTargetSettings
BuildTargetSettings[] getBuildTargetSettings()
Returns the build target settings.
- See Also:
BuildTargetSettings
-
getBuildDistributionSettings
BuildDistributionSettings getBuildDistributionSettings()
Returns the build distribution settings.
- See Also:
BuildDistributionSettings
-
-