Class CreateChainRepository

    • Constructor Detail

      • CreateChainRepository

        public CreateChainRepository()
    • Method Detail

      • input

        public String input()
                     throws Exception
        Overrides:
        input in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • validate

        public void validate()
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • addRepository

        public String addRepository()
      • pickTriggerKey

        public static String pickTriggerKey​(String defaultTriggerKey,
                                            boolean isWebhookEnabled)
      • getRepositoryPluginKeys

        @NotNull
        public @NotNull String getRepositoryPluginKeys()
      • setPlanLimitReached

        public void setPlanLimitReached()
        Description copied from interface: PlanLimitAware
        Called if the interceptor detects that the plan limit has been exhausted. Its up to the actions as to how they react
        Specified by:
        setPlanLimitReached in interface PlanLimitAware
      • isPlanLimitReached

        public boolean isPlanLimitReached()
        Description copied from interface: PlanLimitAware
        Allows UI to check whether the plan limit has been reached
        Specified by:
        isPlanLimitReached in interface PlanLimitAware
        Returns:
        true if the plan limit has been reached or not.
      • getJobKey

        public String getJobKey()
      • setJobKey

        public void setJobKey​(String jobKey)
      • getExistingProjectKey

        public String getExistingProjectKey()
      • setExistingProjectKey

        public void setExistingProjectKey​(String existingProjectKey)
      • getRepositoryName

        public String getRepositoryName()
      • setRepositoryName

        public void setRepositoryName​(String repositoryName)
      • getRepositoryTypeOption

        public String getRepositoryTypeOption()
      • setRepositoryTypeOption

        public void setRepositoryTypeOption​(String repositoryTypeOption)
      • isNewProject

        public boolean isNewProject()
      • setNewProject

        public void setNewProject​(boolean newProject)