com.pmease.quickbuild.plugin.report.engine.contribution.publisher
Class AbstractPublisher
java.lang.Object
com.pmease.quickbuild.extensionpoint.support.TypeInstance
com.pmease.quickbuild.stepsupport.Step
com.pmease.quickbuild.plugin.report.engine.contribution.publisher.AbstractPublisher
- All Implemented Interfaces:
- Validatable, java.io.Serializable
- Direct Known Subclasses:
- BuildReportPublisher
public abstract class AbstractPublisher
- 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 |
AbstractPublisher
public AbstractPublisher()
getSrcPath
public java.lang.String getSrcPath()
- Get source path under which to search xml files containing report data. Null will be returned if search under the workspace.
setSrcPath
public void setSrcPath(java.lang.String srcPath)
getFilePattern
@NotEmpty
public java.lang.String getFilePattern()
- Get report files or patterns
setFilePattern
public void setFilePattern(java.lang.String filePattern)
getReportsetName
public java.lang.String getReportsetName()
- Name of the report set.
setReportsetName
public void setReportsetName(java.lang.String reportName)
getGenerators
protected abstract ReportGenerator[] getGenerators()
getBuildReportDir
protected abstract java.lang.String getBuildReportDir()
onNotApplicable
protected void onNotApplicable()
run
public void run()
- Specified by:
run
in class Step
doPublish
protected void doPublish()
isApplicable
protected boolean isApplicable()
getPublisherName
protected abstract java.lang.String getPublisherName()
onBeforePublish
protected void onBeforePublish()
onAfterPublish
protected void onAfterPublish()
getReportPublishPattern
protected java.lang.String getReportPublishPattern()
transferFiles
protected void transferFiles()
needTransfer
protected boolean needTransfer()
getWorkingDir
public java.io.File getWorkingDir()
setWorkingDir
public void setWorkingDir(java.io.File workingDir)
removeElement
protected static void removeElement(VersionedDocument dom,
java.lang.String elementName)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.