Package org.openbravo.erpCommon.obps
Class ActivationTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.openbravo.dal.core.DalInitializingTask
-
- org.openbravo.erpCommon.obps.ActivationTask
-
- All Implemented Interfaces:
Cloneable
public class ActivationTask extends DalInitializingTask
This class provides an ant task to activate instance in command line without need of use UI. It can be executed withant activate.instance
- Author:
- alostale
-
-
Field Summary
-
Fields inherited from class org.openbravo.dal.core.DalInitializingTask
propertiesFile, userId
-
-
Constructor Summary
Constructors Constructor Description ActivationTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
The method which should be implemented by the subclassvoid
setPublicKey(String publicKey)
void
setPublicKeyFile(File publicKeyFile)
void
setPurpose(String purpose)
-
Methods inherited from class org.openbravo.dal.core.DalInitializingTask
execute, getPropertiesFile, getProviderConfigDirectory, getUserId, isAdminMode, isReInitializeModel, setAdminMode, setPropertiesFile, setProviderConfigDirectory, setReInitializeModel, setUserId
-
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
-
doExecute
protected void doExecute()
Description copied from class:DalInitializingTask
The method which should be implemented by the subclass- Overrides:
doExecute
in classDalInitializingTask
-
setPublicKey
public void setPublicKey(String publicKey)
-
setPublicKeyFile
public void setPublicKeyFile(File publicKeyFile)
-
setPurpose
public void setPurpose(String purpose)
-
-