java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.lenya.cms.ant.PublicationTask
org.apache.lenya.cms.ant.InitWorkflowHistoryTask
- public class InitWorkflowHistoryTask
- extends PublicationTask
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
documentId
private java.lang.String documentId
documentType
private java.lang.String documentType
language
private java.lang.String language
userId
private java.lang.String userId
machineIp
private java.lang.String machineIp
InitWorkflowHistoryTask
public InitWorkflowHistoryTask()
getMachineIp
public java.lang.String getMachineIp()
- Returns the machine IP address from which the history was initialized.
setMachineIp
public void setMachineIp(java.lang.String machineIp)
- Sets the machine IP address from which the history was initialized.
getUserId
public java.lang.String getUserId()
- Returns the ID of the user who initialized the history.
setUserId
public void setUserId(java.lang.String userId)
- Sets the ID of the user who initialized the history.
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Description copied from class:
org.apache.tools.ant.Task
- Called by the project to let the task do its work. This method may be
called more than once, if the task is invoked more than once.
For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.
getDocumentId
public java.lang.String getDocumentId()
- Get the document-id.
setDocumentId
public void setDocumentId(java.lang.String aDocumentId)
- Set the document-id.
getDocumentType
public java.lang.String getDocumentType()
- Get the document type.
setDocumentType
public void setDocumentType(java.lang.String aDocumentType)
- Set the document type.
getLanguage
public java.lang.String getLanguage()
- Get the language.
setLanguage
public void setLanguage(java.lang.String string)
- Set the language.