Class ConfigureRepository

    • Constructor Detail

      • ConfigureRepository

        public ConfigureRepository()
    • Method Detail

      • prepare

        public void prepare()
                     throws Exception
        Specified by:
        prepare in interface com.opensymphony.xwork2.Preparable
        Throws:
        Exception
      • getJsonObject

        @NotNull
        public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
                                                                                   throws com.opensymphony.webwork.dispatcher.json.JSONException
        Description copied from class: BambooActionSupport
        This is default property read by webwork for webwork's result type "json".
        Overrides:
        getJsonObject in class BambooActionSupport
        Returns:
        Throws:
        com.opensymphony.webwork.dispatcher.json.JSONException
        See Also:
        JSON Result

        If descending classes need to add anything to JSON response these should override #buildJsonObject() method.

      • validatePlan

        protected void validatePlan()
      • validateName

        protected void validateName()
      • validateGlobalRepositoryUse

        protected void validateGlobalRepositoryUse()
      • getRepositoryId

        public long getRepositoryId()
      • setRepositoryId

        public void setRepositoryId​(long repositoryId)
      • getUserDescription

        public String getUserDescription()
      • setUserDescription

        public void setUserDescription​(String userDescription)
      • getRepositoryName

        public String getRepositoryName()
      • setRepositoryName

        public void setRepositoryName​(String repositoryName)
      • getSelectedRepository

        public String getSelectedRepository()
      • setSelectedRepository

        public void setSelectedRepository​(String selectedRepository)
      • getSelectedWebRepositoryViewer

        public String getSelectedWebRepositoryViewer()
      • setSelectedWebRepositoryViewer

        public void setSelectedWebRepositoryViewer​(String selectedWebRepositoryViewer)
      • getRepositoryNameMaxLength

        public int getRepositoryNameMaxLength()
      • validateRepositoryConfiguration

        protected void validateRepositoryConfiguration​(boolean overrideBranch)
      • isDerivedFromLinkedRepository

        public boolean isDerivedFromLinkedRepository()
      • isDerivedFromProjectRepository

        public boolean isDerivedFromProjectRepository()
      • isBranchOverridable

        public boolean isBranchOverridable()
      • triggerAnalyticsEvent

        protected void triggerAnalyticsEvent()