|
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.client.Messages
public class Messages
| Constructor Summary | |
|---|---|
Messages(Map<IField,List<Message>> messages)
Instantiates a new abstract open shift resource. |
|
| Method Summary | |
|---|---|
List<Message> |
getAll()
|
List<Message> |
getBy(IField field)
Returns all the message of the given field type. |
List<Message> |
getBy(IField field,
ISeverity severity)
Returns the messages of the given field type and severity. |
Message |
getFirstBy(IField field)
Returns the first message of the given field type. |
Message |
getFirstBy(IField field,
ISeverity severity)
Returns the first message of the given field type and severity. |
boolean |
hasMessages()
|
int |
size()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Messages(Map<IField,List<Message>> messages)
service - the servicelinks - the links| Method Detail |
|---|
public List<Message> getAll()
public Message getFirstBy(IField field,
ISeverity severity)
#getCreationLog() for further details.
field - the field typeseverity - the severity
Message#FIELD_APPINFO,
Message#FIELD_RESULT,
ISeverity
public List<Message> getBy(IField field,
ISeverity severity)
#getCreationLog() for further details.
field - the field typeseverity - the severity
Message#FIELD_APPINFO,
Message#FIELD_RESULT,
ISeveritypublic Message getFirstBy(IField field)
#getCreationLog() for further details.
field - the field type
Message#FIELD_APPINFO,
Message#FIELD_RESULTpublic List<Message> getBy(IField field)
#getCreationLog() for further details.
field - the field type
Message#FIELD_APPINFO,
Message#FIELD_RESULTpublic boolean hasMessages()
public int size()
public String toString()
toString in class Object
|
OpenShift Java Client 2.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||