com.openshift.client.IOpenShiftResource Maven / Gradle / Ivy
The newest version!
package com.openshift.client;
public interface IOpenShiftResource {
/**
* Returns
* 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.
*
* @return true if there's cretion log for this resource
*/
public boolean hasCreationLog();
/**
* Returns the log that was created when the resource was created.
*
* @return the log which reported the creation of this resource
*/
public String getCreationLog();
/**
* Returns all the (creation log) messages. These messages only exist at
* creation time. Existing cartridges, that were added in a prior session
* dont have any messages any more.
*
* @return all messages by field
*
* @see #getCreationLog()
*/
public Messages getMessages();
/**
* Refresh the resource and its list of children resources that were
* previously loaded
*
* @throws OpenShiftException
*/
public void refresh() throws OpenShiftException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy