Package io.fabric8.jenkins.openshiftsync
Class BuildCause
- java.lang.Object
-
- hudson.model.Cause
-
- io.fabric8.jenkins.openshiftsync.BuildCause
-
public class BuildCause extends Cause
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Constructor Summary
Constructors Constructor Description BuildCause(io.fabric8.openshift.api.model.Build build, String buildConfigUid)
BuildCause(String uid, String namespace, String name, String gitUri, String commit, String buildConfigUid)
BuildCause(String uid, String namespace, String name, String gitUri, String commit, String buildConfigUid, int numStages, int numFlowNodes, long lastUpdateToOpenshift)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildConfigUid()
String
getCommit()
String
getGitUri()
long
getLastUpdateToOpenshift()
String
getName()
String
getNamespace()
int
getNumFlowNodes()
int
getNumStages()
String
getShortDescription()
String
getUid()
void
setLastUpdateToOpenshift(long lastUpdateToOpenshift)
void
setNumFlowNodes(int numFlowNodes)
void
setNumStages(int numStages)
-
-
-
Constructor Detail
-
BuildCause
public BuildCause(String uid, String namespace, String name, String gitUri, String commit, String buildConfigUid)
-
BuildCause
public BuildCause(String uid, String namespace, String name, String gitUri, String commit, String buildConfigUid, int numStages, int numFlowNodes, long lastUpdateToOpenshift)
-
BuildCause
public BuildCause(io.fabric8.openshift.api.model.Build build, String buildConfigUid)
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCause
-
getUid
public String getUid()
-
getNamespace
public String getNamespace()
-
getName
public String getName()
-
getGitUri
public String getGitUri()
-
getCommit
public String getCommit()
-
getBuildConfigUid
public String getBuildConfigUid()
-
getNumStages
public int getNumStages()
-
setNumStages
public void setNumStages(int numStages)
-
getNumFlowNodes
public int getNumFlowNodes()
-
setNumFlowNodes
public void setNumFlowNodes(int numFlowNodes)
-
getLastUpdateToOpenshift
public long getLastUpdateToOpenshift()
-
setLastUpdateToOpenshift
public void setLastUpdateToOpenshift(long lastUpdateToOpenshift)
-
-