Class ScmProperties

java.lang.Object
pl.allegro.tech.build.axion.release.domain.scm.ScmProperties

public class ScmProperties extends Object
  • Constructor Details

    • ScmProperties

      public ScmProperties(String type, File directory, String remote, boolean pushTagsOnly, boolean fetchTags, boolean attachRemote, String remoteUrl, String overriddenBranchName, Boolean overriddenIsClean, ScmIdentity identity, Boolean unshallowRepoOnCI, Set<String> releaseBranchNames, boolean releaseOnlyOnReleaseBranches, boolean ignoreGlobalGitConfig)
  • Method Details

    • pushOptions

      public ScmPushOptions pushOptions()
    • getType

      public final String getType()
    • getDirectory

      public final File getDirectory()
    • getRemote

      public final String getRemote()
    • isPushTagsOnly

      public final boolean isPushTagsOnly()
    • isFetchTags

      public final boolean isFetchTags()
    • isAttachRemote

      public final boolean isAttachRemote()
    • getRemoteUrl

      public final String getRemoteUrl()
    • getOverriddenBranchName

      public String getOverriddenBranchName()
    • getOverriddenIsClean

      public Optional<Boolean> getOverriddenIsClean()
    • getIdentity

      public final ScmIdentity getIdentity()
    • isUnshallowRepoOnCI

      public Boolean isUnshallowRepoOnCI()
    • getReleaseBranchNames

      public Set<String> getReleaseBranchNames()
    • isReleaseOnlyOnReleaseBranches

      public boolean isReleaseOnlyOnReleaseBranches()
    • isIgnoreGlobalGitConfig

      public boolean isIgnoreGlobalGitConfig()