Enum CapabilitySource

    • Enum Constant Detail

      • PROPERTIES_FILE

        public static final CapabilitySource PROPERTIES_FILE
        Defined in bamboo-capabilities.properties file
      • AUTO_DETECTION

        public static final CapabilitySource AUTO_DETECTION
        Automatically detected
    • Method Detail

      • values

        public static CapabilitySource[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CapabilitySource c : CapabilitySource.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CapabilitySource valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forName

        @Nullable
        public static @Nullable CapabilitySource forName​(@NotNull
                                                         @NotNull String name)
        Return a capability source for the given name. Does a case-insensitive check.
        Parameters:
        name - name of the capability source
        Returns:
        the given capability source or null if not found
      • getMask

        public int getMask()
        Get bits that represents this source