Class NamespaceName


  • public class NamespaceName
    extends Object
    Represents a name in a namespace we can use as a key in a map
    • Constructor Detail

      • NamespaceName

        public NamespaceName​(String namespace,
                             String name)
    • Method Detail

      • create

        public static NamespaceName create​(io.fabric8.kubernetes.api.model.HasMetadata hasMetadata)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getName

        public String getName()
      • getNamespace

        public String getNamespace()
      • notNull

        public static void notNull​(Object value,
                                   String name)
        Asserts whether the value is not null
        Parameters:
        value - the value to test
        name - the key that resolved the value
        Throws:
        IllegalArgumentException - is thrown if assertion fails