Class GitRepositoryProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
com.atlassian.bamboo.specs.model.repository.git.GitRepositoryProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties, com.atlassian.bamboo.specs.api.model.RootEntityProperties

@Immutable public final class GitRepositoryProperties extends com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
    GitRepositoryProperties(@Nullable String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable String url, @Nullable String branch, @Nullable com.atlassian.bamboo.specs.api.model.project.ProjectProperties project, @Nullable AuthenticationProperties authenticationProperties, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs)
     
    GitRepositoryProperties(@Nullable String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable String url, @Nullable String branch, @Nullable AuthenticationProperties authenticationProperties, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    @Nullable com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties
     
     
    @Nullable String
     
     
    @Nullable String
     
    @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties
     
    int
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    void
     

    Methods inherited from class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties

    getDescription, getName, getOid, getParent, getParentName, getProject, getRepositoryViewerProperties, hasParent, humanReadableId, humanReadableType, toIdentifier

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GitRepositoryProperties

      public GitRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable String url, @Nullable @Nullable String branch, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • GitRepositoryProperties

      public GitRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable String url, @Nullable @Nullable String branch, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.project.ProjectProperties project, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
  • Method Details

    • getAtlassianPlugin

      @Nullable public @Nullable com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
      Specified by:
      getAtlassianPlugin in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
    • getUrl

      @Nullable public @Nullable String getUrl()
    • getBranch

      @Nullable public @Nullable String getBranch()
    • getAuthenticationProperties

      @Nullable public @Nullable AuthenticationProperties getAuthenticationProperties()
    • isUseShallowClones

      public boolean isUseShallowClones()
    • isUseRemoteAgentCache

      public boolean isUseRemoteAgentCache()
    • isUseSubmodules

      public boolean isUseSubmodules()
    • getCommandTimeout

      public Duration getCommandTimeout()
    • isVerboseLogs

      public boolean isVerboseLogs()
    • isFetchWholeRepository

      public boolean isFetchWholeRepository()
    • isUseLfs

      public boolean isUseLfs()
    • isSshKeyAppliesToSubmodules

      public boolean isSshKeyAppliesToSubmodules()
    • getVcsChangeDetection

      @Nullable public @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties getVcsChangeDetection()
    • validate

      public void validate()
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
      Overrides:
      validate in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties