public class CreateBootStartScripts extends CreateStartScripts
CreateStartScripts
that makes the main class name
optional.Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
CreateBootStartScripts() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationName() |
java.lang.String |
getMainClassName() |
java.io.File |
getOutputDir() |
void |
setApplicationName(Provider<java.lang.String> applicationNameProvider)
Sets the application name to the value from the given
applicationNameProvider . |
void |
setApplicationName(java.lang.String applicationName) |
void |
setOutputDir(java.io.File outputDir) |
void |
setOutputDir(Provider<java.io.File> outputDirProvider)
Sets the output directory to the value from the given
outputDirProvider . |
generate, getClasspath, getDefaultJvmOpts, getExitEnvironmentVar, getOptsEnvironmentVar, getUnixScript, getUnixStartScriptGenerator, getWindowsScript, getWindowsStartScriptGenerator, setClasspath, setDefaultJvmOpts, setExitEnvironmentVar, setMainClassName, setOptsEnvironmentVar, setUnixStartScriptGenerator, setWindowsStartScriptGenerator
conventionMapping, conventionMapping, getConventionMapping
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, 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, toString
@Optional public java.lang.String getMainClassName()
getMainClassName
in class CreateStartScripts
@Input public java.lang.String getApplicationName()
getApplicationName
in class CreateStartScripts
public void setApplicationName(java.lang.String applicationName)
setApplicationName
in class CreateStartScripts
public void setApplicationName(Provider<java.lang.String> applicationNameProvider)
applicationNameProvider
.applicationNameProvider
- the provider of the application name@OutputDirectory public java.io.File getOutputDir()
getOutputDir
in class CreateStartScripts
public void setOutputDir(java.io.File outputDir)
setOutputDir
in class CreateStartScripts
public void setOutputDir(Provider<java.io.File> outputDirProvider)
outputDirProvider
.outputDirProvider
- the provider of the output directory