org.jcoderz.commons.taskdefs
Class LuntBuildTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.jcoderz.commons.taskdefs.LuntBuildTask
- All Implemented Interfaces:
- Cloneable
public class LuntBuildTask
- extends org.apache.tools.ant.Task
Ant task to trigger a build on the Luntbuild system and download results
afterwards.
- Author:
- Albrecht Messner
|
Field Summary |
static String |
FAIL_IF_RUNNING
Schedule start policy: fails this task if schedule is currently running. |
static String |
SKIP_IF_RUNNING
Schedule start policy: skips execution if schedule is currently running. |
static String |
START_MULTIPLE
Schedule start policy: allows multiple schedules to be running
simultaneously. |
| Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
| 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 |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
START_MULTIPLE
public static final String START_MULTIPLE
- Schedule start policy: allows multiple schedules to be running
simultaneously.
- See Also:
- Constant Field Values
SKIP_IF_RUNNING
public static final String SKIP_IF_RUNNING
- Schedule start policy: skips execution if schedule is currently running.
- See Also:
- Constant Field Values
FAIL_IF_RUNNING
public static final String FAIL_IF_RUNNING
- Schedule start policy: fails this task if schedule is currently running.
- See Also:
- Constant Field Values
LuntBuildTask
public LuntBuildTask()
setLuntUrl
public void setLuntUrl(String luntUrl)
- Parameters:
luntUrl - The luntUrl to set.
setUserName
public void setUserName(String userName)
- Parameters:
userName - The userName to set.
setPassword
public void setPassword(String password)
- Parameters:
password - The password to set.
setProjectName
public void setProjectName(String projectName)
- Parameters:
projectName - The projectName to set.
setScheduleName
public void setScheduleName(String scheduleName)
- Parameters:
scheduleName - The scheduleName to set.
setStartPolicy
public void setStartPolicy(String startPolicy)
- Parameters:
startPolicy - The startPolicy to set.
setWaitForSchedule
public void setWaitForSchedule(boolean waitForSchedule)
- Parameters:
waitForSchedule - The waitForSchedule to set.
setToDir
public void setToDir(String toDir)
- Parameters:
toDir - The toDir to set.
addArtifact
public void addArtifact(LuntBuildTask.Artifact artifact)
- Adds an artifact for retrieval.
- Parameters:
artifact - the artifact to add
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Execute this ant task.
- Overrides:
execute in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException - if a build error occurs
Copyright 2007 The jCoderZ Project.