com.pmease.quickbuild.stepsupport
Class CompositeStep
java.lang.Object
com.pmease.quickbuild.extensionpoint.support.TypeInstance
com.pmease.quickbuild.stepsupport.Step
com.pmease.quickbuild.stepsupport.CompositeStep
- All Implemented Interfaces:
- Validatable, java.io.Serializable
- Direct Known Subclasses:
- ParallelStep, SequentialStep
public abstract class CompositeStep
- extends Step
- See Also:
- Serialized Form
Methods inherited from class com.pmease.quickbuild.stepsupport.Step |
clearResources, equals, execute, findParent, fromDOM, getBuild, getDescription, getDuration, getErrorMessage, getExecuteCondition, getInputOption, getName, getNode, getNodeAddress, getNodeLaunchId, getNodeMatcher, getNodePreference, getOutputOption, getParam, getParent, getPath, getPostExecuteAction, getPreExecuteAction, getPreviousExecutedSibling, getPreviousSibling, getRepetitions, getResource, getResource, getResources, getRuntime, getStatus, getType, getWaitDuration, hashCode, isEnabled, isFailed, isFinished, isIdle, isMaster, isRunning, isSuccessful, isWaiting, matches, removeResource, renderCustomRuntimeData, renderLogAsHtml, renderLogAsText, setBuild, setDescription, setDuration, setEnabled, setErrorMessage, setExecuteCondition, setInputOption, setJob, setName, setNode, setNodeLaunchId, setNodeMatcher, setNodePreference, setOutputOption, setPath, setPostExecuteAction, setPreExecuteAction, setRepetitions, setResource, setResources, setStatus, setWaitDuration, shouldExecute, toString, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CompositeStep
public CompositeStep()
getChildStepNames
public java.util.List<java.lang.String> getChildStepNames()
- Get child step names.
setChildStepNames
public void setChildStepNames(java.util.List<java.lang.String> childStepNames)
getSuccessCondition
@NotNull
public SuccessCondition getSuccessCondition()
setSuccessCondition
public void setSuccessCondition(SuccessCondition successCondition)
run
public final void run()
- Specified by:
run
in class Step
getChildren
public java.util.List<Step> getChildren()
- Get children of this step.
findChildren
protected java.util.List<Step> findChildren()
getChild
public Step getChild(java.lang.String stepName)
- Get child step of specified name. For repeatible step, step name needs to be suffixed with repeat params, for example: test?db=oracle&platform=win32. Null will be returned if child step is not found.
triggerChildren
protected abstract void triggerChildren()
isAnyChildSuccessful
public boolean isAnyChildSuccessful()
- Check if there is any successful child step.
isAnyChildFailed
public boolean isAnyChildFailed()
- Check if there is any failed child step.
visitChildren
public Step visitChildren(StepVisitor visitor)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.