Package io.openliberty.tools.ant
Class InstallFeatureTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- io.openliberty.tools.ant.AbstractTask
-
- io.openliberty.tools.ant.FeatureManagerTask
-
- io.openliberty.tools.ant.InstallFeatureTask
-
- All Implemented Interfaces:
Cloneable
public class InstallFeatureTask extends FeatureManagerTask
Install feature task.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.openliberty.tools.ant.FeatureManagerTask
FeatureManagerTask.Feature, FeatureManagerTask.ReturnCode
-
-
Field Summary
-
Fields inherited from class io.openliberty.tools.ant.FeatureManagerTask
cmd, features, name
-
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 InstallFeatureTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidexecute()StringgetFrom()StringgetTo()StringgetWhenFileExists()Deprecated.installUtility does not have a whenFileExist parameter.booleanisAcceptLicense()voidsetAcceptLicense(boolean acceptLicense)voidsetFrom(String from)voidsetTo(String to)voidsetWhenFileExists(String whenFileExists)Deprecated.installUtility does not have a whenFileExist parameter.-
Methods inherited from class io.openliberty.tools.ant.FeatureManagerTask
addFeature, getFeatures, getName, initTask, setFeatures, setName
-
Methods inherited from class io.openliberty.tools.ant.AbstractTask
checkReturnCode, checkReturnCodeAndError, countStringOccurrencesInFile, findStringInFile, findStringsInFile, getFileName, getInstallDir, getLogFile, getMessage, getOutputDir, getRef, getReturnCode, getServerName, getServerOutputDir, getUserDir, 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
-
isAcceptLicense
public boolean isAcceptLicense()
- Returns:
- the acceptLicense
-
setAcceptLicense
public void setAcceptLicense(boolean acceptLicense)
- Parameters:
acceptLicense- the acceptLicense to set
-
getTo
public String getTo()
-
setTo
public void setTo(String to)
-
getWhenFileExists
@Deprecated public String getWhenFileExists()
Deprecated.installUtility does not have a whenFileExist parameter.- Returns:
- the whenFileExists boolean
-
setWhenFileExists
@Deprecated public void setWhenFileExists(String whenFileExists)
Deprecated.installUtility does not have a whenFileExist parameter.- Parameters:
whenFileExists- A boolean for whenFileExists
-
getFrom
public String getFrom()
-
setFrom
public void setFrom(String from)
-
-