public final class SituationUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static IgnoreSubject |
deserializeIgnoreSubject(byte[] ignore)
This method deserializes an Ignore Subject from a JSON representation.
|
static Situation |
deserializeSituation(byte[] situation)
This method deserializes a Service Definition from a JSON representation.
|
static byte[] |
serializeIgnoreSubject(IgnoreSubject ignore)
This method serializes an IgnoreSubject into a JSON representation.
|
static byte[] |
serializeSituation(Situation situation)
This method serializes a Situation into a JSON representation.
|
public static byte[] serializeSituation(Situation situation) throws Exception
situation - The situationException - Failed to serializepublic static byte[] serializeIgnoreSubject(IgnoreSubject ignore) throws Exception
ignore - The ignore subject detailsException - Failed to serializepublic static Situation deserializeSituation(byte[] situation) throws Exception
situation - The JSON representation of the situationException - Failed to deserializepublic static IgnoreSubject deserializeIgnoreSubject(byte[] ignore) throws Exception
ignore - The JSON representation of the ignore subject detailsException - Failed to deserializeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.