|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openshift.internal.client.AbstractOpenShiftResource
public abstract class AbstractOpenShiftResource
The Class AbstractOpenShiftResource.
Nested Class Summary | |
---|---|
protected static class |
AbstractOpenShiftResource.Parameters
|
protected class |
AbstractOpenShiftResource.ServiceRequest
|
Constructor Summary | |
---|---|
protected |
AbstractOpenShiftResource(IRestService service)
Instantiates a new abstract open shift resource. |
protected |
AbstractOpenShiftResource(IRestService service,
Map<String,Link> links,
Messages messages)
Instantiates a new abstract open shift resource. |
Method Summary | |
---|---|
String |
getCreationLog()
Returns the log that was created when the resource was created. |
protected Link |
getLink(String linkName)
Gets the link for the given name. |
Messages |
getMessages()
Returns all the (creation log) messages. |
boolean |
hasCreationLog()
Returns true if there is log about the creation of this resource. |
protected void |
setLinks(Map<String,Link> links)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.openshift.client.IOpenShiftResource |
---|
refresh |
Constructor Detail |
---|
protected AbstractOpenShiftResource(IRestService service)
service
- the serviceprotected AbstractOpenShiftResource(IRestService service, Map<String,Link> links, Messages messages)
service
- the servicelinks
- the linksMethod Detail |
---|
protected void setLinks(Map<String,Link> links)
protected Link getLink(String linkName) throws OpenShiftException
This method is protected for testing purposes only.
linkName
- the name of the link that shall get retrieved
OpenShiftException
- thrown if no link with the given name existspublic boolean hasCreationLog()
IOpenShiftResource
true if there is log about the creation of this resource.
Creation logs are only available at creation time. So resources that were retrieved
while they already existed wont have a creation log.
- Specified by:
hasCreationLog
in interface IOpenShiftResource
- Returns:
- true if there's cretion log for this resource
public String getCreationLog()
IOpenShiftResource
getCreationLog
in interface IOpenShiftResource
public Messages getMessages()
IOpenShiftResource
getMessages
in interface IOpenShiftResource
IOpenShiftResource.getCreationLog()
|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |