Package io.openliberty.tools.ant
Class DeployTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- io.openliberty.tools.ant.AbstractTask
-
- io.openliberty.tools.ant.DeployTask
-
- All Implemented Interfaces:
Cloneable
public class DeployTask extends AbstractTask
deploy ant tasks
-
-
Field Summary
-
Fields inherited from class io.openliberty.tools.ant.AbstractTask
DEFAULT_LOG_FILE, DEFAULT_SERVER, installDir, isWindows, messages, osName, outputDir, processBuilder, ref, serverConfigDir, serverName, serverOutputDir, userDir, WLP_OUTPUT_DIR_VAR, WLP_USER_DIR_VAR
-
-
Constructor Summary
Constructors Constructor Description DeployTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFileset(org.apache.tools.ant.types.FileSet fs)Adds a set of files (nested fileset attribute).voidexecute()StringgetDeployName()StringgetTimeout()voidsetDeployName(String name)voidsetFile(File appFile)voidsetTimeout(String timeout)-
Methods inherited from class io.openliberty.tools.ant.AbstractTask
checkReturnCode, checkReturnCodeAndError, countStringOccurrencesInFile, findStringInFile, findStringsInFile, getFileName, getInstallDir, getLogFile, getMessage, getOutputDir, getRef, getReturnCode, getServerName, getServerOutputDir, getUserDir, initTask, sendErrorInvokeCommand, setInstallDir, setOutputDir, setRef, setServerName, setUserDir, stopServer, waitForStringInLog, waitForUpdatedStringInLog
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
execute
public void execute()
- Overrides:
executein classorg.apache.tools.ant.Task
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fs)
Adds a set of files (nested fileset attribute).- Parameters:
fs- the file set to add
-
setFile
public void setFile(File appFile)
-
getTimeout
public String getTimeout()
- Returns:
- the timeout
-
setTimeout
public void setTimeout(String timeout)
- Parameters:
timeout- the timeout to set
-
getDeployName
public String getDeployName()
- Returns:
- the deployName
-
setDeployName
public void setDeployName(String name)
- Parameters:
name- the deployName to set
-
-