com.cisco.step.jenkins.plugins.jenkow
Class JenkowWorkflowRun

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by hudson.model.Run<P,R>
              extended by org.jenkinsci.plugins.asyncjob.AsyncRun<JenkowWorkflowJob,JenkowWorkflowRun>
                  extended by com.cisco.step.jenkins.plugins.jenkow.JenkowWorkflowRun
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.DescriptorByNameOwner, hudson.model.ModelObject, hudson.model.PersistenceRoot, hudson.model.Queue.Executable, hudson.model.Saveable, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled, Comparable<JenkowWorkflowRun>, Runnable, jenkins.model.ModelObjectWithContextMenu

public class JenkowWorkflowRun
extends org.jenkinsci.plugins.asyncjob.AsyncRun<JenkowWorkflowJob,JenkowWorkflowRun>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Run
hudson.model.Run.Artifact, hudson.model.Run.ArtifactList, hudson.model.Run.KeepLogBuildBadge, hudson.model.Run.RedirectUp, hudson.model.Run.Runner, hudson.model.Run.RunnerAbortedException, hudson.model.Run.Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem
 
Field Summary
 
Fields inherited from class hudson.model.Run
ARTIFACTS, charset, DELETE, description, duration, FEED_ADAPTER, FEED_ADAPTER_LATEST, ID_FORMATTER, LIST_CUTOFF, nextBuild, number, ORDER_BY_DATE, PERMISSIONS, previousBuild, project, result, state, timestamp, TREE_CUTOFF, UPDATE, XSTREAM, XSTREAM2
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
JenkowWorkflowRun(JenkowWorkflowJob job)
           
JenkowWorkflowRun(JenkowWorkflowJob job, File buildDir)
           
 
Method Summary
 org.kohsuke.stapler.HttpResponse doComplete()
           
 void doStop(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 org.kohsuke.stapler.HttpResponse doWriteLog()
           
 String getProcId()
           
 void run()
           
 void setProcId(String procId)
           
 
Methods inherited from class org.jenkinsci.plugins.asyncjob.AsyncRun
createListener, getIconColor, isAsyncCompleted, isBuilding, markCompleted
 
Methods inherited from class hudson.model.Run
addAction, checkPermission, compareTo, delete, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getDynamic, getEnvironment, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getId, getIDFormatter, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNextBuild, getNumber, getOneOffExecutor, getPreviousBuild, getPreviousBuildInProgress, getPreviousBuildsOverThreshold, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getPreviousSuccessfulBuild, getResult, getRootDir, getSearchUrl, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTruncatedDescription, getUrl, getWhyKeepLog, hasCustomDisplayName, hasntStartedYet, hasPermission, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onLoad, onStartBuilding, reload, run, save, setDescription, setDisplayName, setResult, submit, toString, writeLogTo
 
Methods inherited from class hudson.model.Actionable
doContextMenu, getAction, getAction, getActions, getActions
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.model.Queue.Executable
getEstimatedDuration, toString
 

Constructor Detail

JenkowWorkflowRun

public JenkowWorkflowRun(JenkowWorkflowJob job)
                  throws IOException
Throws:
IOException

JenkowWorkflowRun

public JenkowWorkflowRun(JenkowWorkflowJob job,
                         File buildDir)
                  throws IOException
Throws:
IOException
Method Detail

getProcId

public String getProcId()

setProcId

public void setProcId(String procId)

run

public void run()

doComplete

public org.kohsuke.stapler.HttpResponse doComplete()
                                            throws IOException
Throws:
IOException

doWriteLog

public org.kohsuke.stapler.HttpResponse doWriteLog()
                                            throws IOException
Throws:
IOException

doStop

public void doStop(org.kohsuke.stapler.StaplerRequest req,
                   org.kohsuke.stapler.StaplerResponse rsp)
            throws IOException,
                   javax.servlet.ServletException
Specified by:
doStop in class org.jenkinsci.plugins.asyncjob.AsyncRun<JenkowWorkflowJob,JenkowWorkflowRun>
Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2013. All Rights Reserved.