|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
hudson.scm.IntegrityItemAction
public class IntegrityItemAction
| Nested Class Summary | |
|---|---|
static class |
IntegrityItemAction.IntegrityItemDescriptorImpl
The 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.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
hudson.tasks.BuildStep.PublisherList |
| Field Summary | |
|---|---|
static IntegrityItemAction.IntegrityItemDescriptorImpl |
ITEM_DESCRIPTOR
|
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
IntegrityItemAction()
|
|
| Method Summary | |
|---|---|
APISession |
createAPISession()
Creates an authenticated API Session against the Integrity (Workflow) Server |
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor()
Return the instance of DescriptorImpl object for this class |
String |
getFailureValue()
Returns the failure value that will be set when the build has failed |
String |
getHostName()
Returns the host name of the Integrity (Workflow) Server |
String |
getLogField()
Returns the log field associated with the "build" item |
String |
getPassword()
Returns the clear password of the user connecting to the Integrity (Workflow) Server |
int |
getPort()
Returns the port of the Integrity (Workflow) Server |
String |
getQueryDefinition()
Returns the query definition expression |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Returns the build step we're monitoring |
boolean |
getSecure()
Returns true/false depending on secure sockets are enabled |
String |
getStateField()
Returns the status/state field for the "build" item |
String |
getSuccessValue()
Returns the success value that will be set when the build is a success |
String |
getUserName()
Returns the User connecting to the Integrity (Workflow) Server |
boolean |
needsToRunAfterFinalized()
Toggles whether or not this needs to run after build is finalized |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Executes the actual Integrity Update Item operation |
void |
setFailureValue(String failureValue)
Sets the failure value that will be set when the build has failed |
void |
setHostName(String hostName)
Sets the host name of the Integrity (Workflow) Server |
void |
setLogField(String logField)
Sets the log field associated with the "build" item |
void |
setPassword(String password)
Sets the encrypted Password of the user connecting to the Integrity (Workflow) Server |
void |
setPort(int port)
Sets the port of the Integrity (Workflow) Server |
void |
setQueryDefinition(String queryDefinition)
Sets the query definition expression to obtain the build item |
void |
setSecure(boolean secure)
Toggles whether or not secure sockets are enabled |
void |
setStateField(String stateField)
Sets the status/state field for the "build" item |
void |
setSuccessValue(String successValue)
Sets the success value that will be used when the build is a success |
void |
setUserName(String userName)
Sets the User connecting to the Integrity (Workflow) Server |
| Methods inherited from class hudson.tasks.Publisher |
|---|
all, getProjectAction, needsToRun, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
|---|
getProjectAction, getProjectActions, prebuild |
| Field Detail |
|---|
@Extension public static final IntegrityItemAction.IntegrityItemDescriptorImpl ITEM_DESCRIPTOR
| Constructor Detail |
|---|
public IntegrityItemAction()
| Method Detail |
|---|
public String getHostName()
public int getPort()
public boolean getSecure()
public String getUserName()
public String getPassword()
public String getQueryDefinition()
public String getStateField()
public String getSuccessValue()
public String getFailureValue()
public String getLogField()
public void setHostName(String hostName)
hostName - public void setPort(int port)
port - public void setSecure(boolean secure)
secure - public void setUserName(String userName)
userName - public void setPassword(String password)
password - public void setQueryDefinition(String queryDefinition)
queryDefinition - Query Definition Expressionpublic void setStateField(String stateField)
stateField - Status/State fieldpublic void setSuccessValue(String successValue)
successValue - Value to be set when the build is a successpublic void setFailureValue(String failureValue)
failureValue - Value to be set when the build has failedpublic void setLogField(String logField)
logField - Log field that is used to store the build logpublic APISession createAPISession()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedException
IOExceptionpublic boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||