Package org.verifyica.api
Class Argument.Empty
java.lang.Object
org.verifyica.api.Argument.Empty
Class to implement Empty
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.verifyica.api.Argument
Argument.Empty -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Method to get the nameMethod to get the Argument payload<V> VgetPayload(Class<V> type) Method to get the Argument payloadbooleanMethod to return if the Argument has a non-null payloadtoString()
-
Method Details
-
getName
Description copied from interface:NamedMethod to get the name -
getPayload
Description copied from interface:ArgumentMethod to get the Argument payload- Specified by:
getPayloadin interfaceArgument<Object>- Returns:
- the Argument payload
-
getPayload
Description copied from interface:ArgumentMethod to get the Argument payload- Specified by:
getPayloadin interfaceArgument<Object>- Type Parameters:
V- the return type- Parameters:
type- type- Returns:
- the Argument payload
-
hasPayload
public boolean hasPayload()Description copied from interface:ArgumentMethod to return if the Argument has a non-null payload- Specified by:
hasPayloadin interfaceArgument<Object>- Returns:
- true if the Argument payload is not null, else false
-
toString
-