public class Reference extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAbsPart() |
String |
getName() |
String |
getRef() |
String |
getRelPart() |
int |
hashCode() |
boolean |
isRelative() |
Reference |
withAbsoluteFrom(Reference that) |
public Reference(String ref)
ref
- Encapsulated reference string. MUST NOT be null.public String getRef()
public String getAbsPart()
public String getRelPart()
public boolean isRelative()
public String getName()
RuntimeException
- if the reference does not contain relative partpublic Reference withAbsoluteFrom(Reference that)
that
- other referenceCopyright © 2020 Red Hat. All rights reserved.