Package hudson.scm
Class IntegrityItemAction
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
hudson.scm.IntegrityItemAction
- All Implemented Interfaces:
hudson.ExtensionPoint,hudson.model.Describable<hudson.tasks.Publisher>,hudson.tasks.BuildStep,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe relationship of Descriptor and IntegrityItemAction (the describable) is akin to class and object.Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> Return the instance of DescriptorImpl object for this classReturns the failure value that will be set when the build has failedReturns the log field associated with the "build" itemReturns the query definition expressionhudson.tasks.BuildStepMonitorReturns the build step we're monitoringReturns the simple server configuration nameReturns the status/state field for the "build" itemReturns the success value that will be set when the build is a successReturns the JUnit Test Name or External ID field for the Test CaseReturns the name for the 'Failed' verdictReturns the name for the 'Passed' verdictReturns the active State for a Test Session itemReturns the Test Session relationship field for the "build" itemReturns the State field for a Test Session itemReturns the Tests field associated with the Test Session itemReturns the name for the 'Skipped' verdictReturns the name of the 'Contains' Test Suite structural relationship fieldbooleanToggles whether or not this needs to run after build is finalizedbooleanperform(hudson.model.AbstractBuild<?, ?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) Executes the actual Integrity Update Item operationvoidsetFailureValue(String failureValue) Sets the failure value that will be set when the build has failedvoidsetLogField(String logField) Sets the log field associated with the "build" itemvoidsetQueryDefinition(String queryDefinition) Sets the query definition expression to obtain the build itemvoidsetServerConfig(String serverConfig) Sets the simple server configuration namevoidsetStateField(String stateField) Sets the status/state field for the "build" itemvoidsetSuccessValue(String successValue) Sets the success value that will be used when the build is a successvoidsetTestCaseTestNameField(String testCaseTestNameField) Sets the JUnit Test Name or External ID field for the Test CasevoidsetTestFailedVerdictName(String testFailedVerdictName) Sets the name for the 'Failed' verdictvoidsetTestPassedVerdictName(String testPassedVerdictName) Sets the name for the 'Passed' verdictvoidsetTestSessionActiveState(String testSessionActiveState) Sets the active State for a Test Session itemvoidsetTestSessionField(String testSessionField) Sets the Test Session relationship field for the "build" itemvoidsetTestSessionStateField(String testSessionStateField) Sets the State field for a Test Session itemvoidsetTestSessionTestsField(String testSessionTestsField) Sets the Tests field associated with the Test Session itemvoidsetTestSkippedVerdictName(String testSkippedVerdictName) Sets the name for the 'Skipped' verdictvoidsetTestSuiteContainsField(String testSuiteContainsField) Sets the sunfire reports folder for JUnit test resultsMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
Field Details
-
ITEM_DESCRIPTOR
-
-
Constructor Details
-
IntegrityItemAction
public IntegrityItemAction()
-
-
Method Details
-
getServerConfig
Returns the simple server configuration name- Returns:
-
getQueryDefinition
Returns the query definition expression- Returns:
- Query Definition
-
getStateField
Returns the status/state field for the "build" item- Returns:
-
getSuccessValue
Returns the success value that will be set when the build is a success- Returns:
-
getFailureValue
Returns the failure value that will be set when the build has failed- Returns:
-
getLogField
Returns the log field associated with the "build" item- Returns:
-
getTestSessionField
Returns the Test Session relationship field for the "build" item- Returns:
-
getTestSessionStateField
Returns the State field for a Test Session item- Returns:
-
getTestSessionActiveState
Returns the active State for a Test Session item- Returns:
-
getTestSessionTestsField
Returns the Tests field associated with the Test Session item- Returns:
-
getTestCaseTestNameField
Returns the JUnit Test Name or External ID field for the Test Case- Returns:
-
getTestSuiteContainsField
Returns the name of the 'Contains' Test Suite structural relationship field- Returns:
-
getTestPassedVerdictName
Returns the name for the 'Passed' verdict- Returns:
-
getTestFailedVerdictName
Returns the name for the 'Failed' verdict- Returns:
-
getTestSkippedVerdictName
Returns the name for the 'Skipped' verdict- Returns:
-
setServerConfig
Sets the simple server configuration name- Parameters:
serverConfig-
-
setQueryDefinition
Sets the query definition expression to obtain the build item- Parameters:
queryDefinition- Query Definition Expression
-
setStateField
Sets the status/state field for the "build" item- Parameters:
stateField- Status/State field
-
setSuccessValue
Sets the success value that will be used when the build is a success- Parameters:
successValue- Value to be set when the build is a success
-
setFailureValue
Sets the failure value that will be set when the build has failed- Parameters:
failureValue- Value to be set when the build has failed
-
setLogField
Sets the log field associated with the "build" item- Parameters:
logField- Log field that is used to store the build log
-
setTestSessionField
Sets the Test Session relationship field for the "build" item -
setTestSessionStateField
Sets the State field for a Test Session item -
setTestSessionActiveState
Sets the active State for a Test Session item -
setTestSessionTestsField
Sets the Tests field associated with the Test Session item -
setTestCaseTestNameField
Sets the JUnit Test Name or External ID field for the Test Case -
setTestSuiteContainsField
Sets the sunfire reports folder for JUnit test results- Parameters:
testResultsDir-
-
setTestPassedVerdictName
Sets the name for the 'Passed' verdict -
setTestFailedVerdictName
Sets the name for the 'Failed' verdict -
setTestSkippedVerdictName
Sets the name for the 'Skipped' verdict -
perform
public boolean perform(hudson.model.AbstractBuild<?, ?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOExceptionExecutes the actual Integrity Update Item operation- Specified by:
performin interfacehudson.tasks.BuildStep- Overrides:
performin classhudson.tasks.BuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
needsToRunAfterFinalized
public boolean needsToRunAfterFinalized()Toggles whether or not this needs to run after build is finalized- Overrides:
needsToRunAfterFinalizedin classhudson.tasks.Publisher
-
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()Returns the build step we're monitoring- Specified by:
getRequiredMonitorServicein interfacehudson.tasks.BuildStep
-
getDescriptor
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()Return the instance of DescriptorImpl object for this class- Specified by:
getDescriptorin interfacehudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptorin classhudson.tasks.Notifier
-