Package io.fabric8.jenkins.openshiftsync
Class NamespaceName
- java.lang.Object
-
- io.fabric8.jenkins.openshiftsync.NamespaceName
-
public class NamespaceName extends Object
-
-
Constructor Summary
Constructors Constructor Description NamespaceName(String namespace, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamespaceName
create(io.fabric8.kubernetes.api.model.HasMetadata hasMetadata)
boolean
equals(Object o)
String
getName()
String
getNamespace()
int
hashCode()
static void
notNull(Object value, String name)
Asserts whether the value is not nullString
toString()
-
-
-
Method Detail
-
create
public static NamespaceName create(io.fabric8.kubernetes.api.model.HasMetadata hasMetadata)
-
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 testname
- the key that resolved the value- Throws:
IllegalArgumentException
- is thrown if assertion fails
-
-