Class GitRepositoryAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- org.datadog.jenkins.plugins.datadog.model.DatadogPluginAction
-
- org.datadog.jenkins.plugins.datadog.model.GitRepositoryAction
-
- All Implemented Interfaces:
Action
,ModelObject
,Serializable
,org.jenkinsci.plugins.workflow.actions.PersistentAction
public class GitRepositoryAction extends DatadogPluginAction
Keeps the Git repository related information.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitRepositoryAction.ConverterImpl
static class
GitRepositoryAction.ConverterV1
-
Constructor Summary
Constructors Constructor Description GitRepositoryAction()
GitRepositoryAction(String repositoryURL, String defaultBranch, String branch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBranch()
String
getDefaultBranch()
String
getRepositoryURL()
int
hashCode()
void
setBranch(String branch)
void
setDefaultBranch(String defaultBranch)
void
setRepositoryURL(String repositoryURL)
String
toString()
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Method Detail
-
getRepositoryURL
@Nullable public String getRepositoryURL()
-
setRepositoryURL
public void setRepositoryURL(String repositoryURL)
-
getDefaultBranch
@Nullable public String getDefaultBranch()
-
setDefaultBranch
public void setDefaultBranch(String defaultBranch)
-
getBranch
@Nullable public String getBranch()
-
setBranch
public void setBranch(String branch)
-
-