public abstract class Unix extends AbstractUnixSetupTask
| Constructor and Description |
|---|
Unix(java.lang.String format) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdditionalServiceScript()
Returns the additional service script that will be included into the original one.
|
java.lang.String |
getArchitecture()
The current architecture
|
java.io.File |
getBundleJre()
Get the bundle JRE directory.
|
java.io.File |
getDefaultServiceFile()
Returns the a default service configuration file This will be included in the service starter
|
java.lang.String |
getDepends()
The package dependencies
|
java.lang.String |
getHomepage()
Homepage of the author
|
java.lang.String |
getInstallationRoot()
Returns the installation root where the program directory should be located.
|
java.lang.String |
getRecommends()
The recommended package dependencies
|
java.lang.String |
getSection()
Returns the section that specifies the 'Group' entry in the SPEC file.
|
java.lang.String |
getVariablesTemplate()
Default variables for every unix daemon
|
void |
setAdditionalServiceScript(java.lang.String additionalServiceScript)
Set an additional service script that will be included into the original one.
|
void |
setArchitecture(java.lang.String architecture)
Set the current architecture
|
void |
setBundleJre(java.lang.Object bundleJre)
Add a Java VM into your setup.
|
void |
setDefaultServiceFile(java.lang.Object defaultServiceFile)
Set the default service configuration file The file will be put at the "/etc/default/$service$" location
|
void |
setDepends(java.lang.String depends)
Sets the package dependencies
|
void |
setHomepage(java.lang.String homepage)
Sets the homepage of the author
|
void |
setInstallationRoot(java.lang.String installationRoot)
Sets the installation root directory where the main files should be located.
|
void |
setRecommends(java.lang.String recommends)
Sets the recommended package dependencies
|
void |
setSection(java.lang.String section)
Set a section (like category) for the application
|
void |
setStartDefaultService(boolean startDefaultService)
Determine if the default service should be started.
|
boolean |
shouldStartDefaultService()
Check if the default service should be started during the setup
|
getDaemonUser, setDaemonUsergetPostinst, getPostrm, getPreinst, getPrerm, getSetupBuilder, setPostinst, setPostrm, setPreinst, setPrermaction, build, copyTo, getAbstractSetupBuilder, getClassifier, getDescription, getExtension, getFileLookup, getFileResolver, getFileSystem, getInstantiator, getRootSpec, getSetupFile, getSetupSource, getSource, getVersion, processFiles, setClassifier, setExtension, setVersionaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteachFile, eachFile, exclude, exclude, exclude, exclude, expand, filesMatching, filesNotMatching, filter, filter, filter, filter, from, from, from, getDirMode, getDuplicatesStrategy, getExcludes, getFileMode, getFilteringCharset, getIncludeEmptyDirs, getIncludes, include, include, include, include, into, into, into, isCaseSensitive, rename, rename, rename, rename, setCaseSensitive, setDirMode, setDuplicatesStrategy, setExcludes, setFileMode, setFilteringCharset, setIncludeEmptyDirs, setIncludes, withpublic java.lang.String getVariablesTemplate()
public java.lang.String getSection()
public void setSection(java.lang.String section)
section - the sectionpublic java.lang.String getArchitecture()
public void setArchitecture(java.lang.String architecture)
architecture - current architecture to setpublic java.lang.String getRecommends()
public void setRecommends(java.lang.String recommends)
recommends - package dependenciespublic java.lang.String getDepends()
public void setDepends(java.lang.String depends)
depends - package dependenciespublic java.lang.String getHomepage()
public void setHomepage(java.lang.String homepage)
homepage - of the authorpublic java.lang.String getInstallationRoot()
public void setInstallationRoot(java.lang.String installationRoot)
installationRoot - the installations root directorypublic java.io.File getDefaultServiceFile()
public void setDefaultServiceFile(java.lang.Object defaultServiceFile)
defaultServiceFile - the default service filepublic java.lang.String getAdditionalServiceScript()
public void setAdditionalServiceScript(java.lang.String additionalServiceScript)
additionalServiceScript - a script the will additionally be included in the servicepublic boolean shouldStartDefaultService()
public void setStartDefaultService(boolean startDefaultService)
startDefaultService - true by default, so only setting false makes sense here.public java.io.File getBundleJre()
public void setBundleJre(java.lang.Object bundleJre)
bundleJre - path