Class BranchPropertyDescriptor

    • Constructor Detail

      • BranchPropertyDescriptor

        public BranchPropertyDescriptor()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(@NonNull
                                    MultiBranchProject project)
        A branch property may not be appropriate for every project, this method lets a property opt out of being selectable for a specific project.
        Parameters:
        project - the project.
        Returns:
        true iff this property is relevant with this project instance.
      • isApplicable

        protected boolean isApplicable​(@NonNull
                                       MultiBranchProjectDescriptor projectDescriptor)
        Usually a branch property is more concerned with the specific type of project than the specifics of the project instance.
        Parameters:
        projectDescriptor - the project type.
        Returns:
        true iff this property is relevant with this project type.