Class GitRepositoryProperties

    • Constructor Detail

      • GitRepositoryProperties

        public GitRepositoryProperties​(@Nullable
                                       @Nullable java.lang.String name,
                                       @Nullable
                                       @Nullable BambooOidProperties oid,
                                       @Nullable
                                       @Nullable java.lang.String description,
                                       @Nullable
                                       @Nullable java.lang.String parent,
                                       @Nullable
                                       @Nullable VcsRepositoryViewerProperties repositoryViewerProperties,
                                       @Nullable
                                       @Nullable java.lang.String url,
                                       @Nullable
                                       @Nullable java.lang.String branch,
                                       @Nullable
                                       @Nullable AuthenticationProperties authenticationProperties,
                                       @Nullable
                                       @Nullable VcsChangeDetectionProperties vcsChangeDetection,
                                       boolean useShallowClones,
                                       boolean useRemoteAgentCache,
                                       boolean useSubmodules,
                                       boolean sshKeyAppliesToSubmodules,
                                       @NotNull
                                       @NotNull java.time.Duration commandTimeout,
                                       boolean verboseLogs,
                                       boolean fetchWholeRepository,
                                       boolean useLfs)
                                throws PropertiesValidationException
        Throws:
        PropertiesValidationException
      • GitRepositoryProperties

        public GitRepositoryProperties​(@Nullable
                                       @Nullable java.lang.String name,
                                       @Nullable
                                       @Nullable BambooOidProperties oid,
                                       @Nullable
                                       @Nullable java.lang.String description,
                                       @Nullable
                                       @Nullable java.lang.String parent,
                                       @Nullable
                                       @Nullable VcsRepositoryViewerProperties repositoryViewerProperties,
                                       @Nullable
                                       @Nullable java.lang.String url,
                                       @Nullable
                                       @Nullable java.lang.String branch,
                                       @Nullable
                                       @Nullable ProjectProperties project,
                                       @Nullable
                                       @Nullable AuthenticationProperties authenticationProperties,
                                       @Nullable
                                       @Nullable VcsChangeDetectionProperties vcsChangeDetection,
                                       boolean useShallowClones,
                                       boolean useRemoteAgentCache,
                                       boolean useSubmodules,
                                       boolean sshKeyAppliesToSubmodules,
                                       @NotNull
                                       @NotNull java.time.Duration commandTimeout,
                                       boolean verboseLogs,
                                       boolean fetchWholeRepository,
                                       boolean useLfs)
                                throws PropertiesValidationException
        Throws:
        PropertiesValidationException
    • Method Detail

      • getUrl

        @Nullable
        public @Nullable java.lang.String getUrl()
      • getBranch

        @Nullable
        public @Nullable java.lang.String getBranch()
      • isUseShallowClones

        public boolean isUseShallowClones()
      • isUseRemoteAgentCache

        public boolean isUseRemoteAgentCache()
      • isUseSubmodules

        public boolean isUseSubmodules()
      • getCommandTimeout

        public java.time.Duration getCommandTimeout()
      • isVerboseLogs

        public boolean isVerboseLogs()
      • isFetchWholeRepository

        public boolean isFetchWholeRepository()
      • isUseLfs

        public boolean isUseLfs()
      • isSshKeyAppliesToSubmodules

        public boolean isSshKeyAppliesToSubmodules()