|
Arquillian Container SPI 1.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.container.spi.client.deployment.Validate
public final class Validate

Validate Validation utility
| Method Summary | |
|---|---|
static void |
configurationDirectoryExists(String string,
String message)
Checks that string is not null and not empty and it represents a path to a valid directory |
static void |
notNull(Object obj,
String message)
Checks that object is not null, throws exception if it is. |
static void |
notNullOrEmpty(String string,
String message)
Checks that the specified String is not null or empty, throws exception if it is. |
static void |
stateNotNull(Object obj,
String message)
Checks that obj is not null, throws exception if it is. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void notNull(Object obj,
String message)
throws IllegalArgumentException
obj - The object to checkmessage - The exception message
IllegalArgumentException - Thrown if obj is null
public static void notNullOrEmpty(String string,
String message)
throws IllegalArgumentException
string - The object to checkmessage - The exception message
IllegalArgumentException - Thrown if obj is null
public static void stateNotNull(Object obj,
String message)
throws IllegalStateException
obj - The object to checkmessage - The exception message
IllegalStateException - Thrown if obj is null
public static void configurationDirectoryExists(String string,
String message)
throws ConfigurationException
string - The path to checkmessage - The exception message
ConfigurationException - Thrown if string is empty, null or it does not represent a path the a valid directory
|
Arquillian Container SPI 1.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||