Package ch.ivyteam.ivy.process.call
Interface SubProcessCallResult
-
public interface SubProcessCallResult
- API:
- This is a public API.
-
-
Method Detail
-
get
Object get(String fieldName)
- Parameters:
fieldName
- the name of the result field- Returns:
- value of the given field form the result
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
get
<T> T get(String fieldName, Class<T> type)
- Parameters:
fieldName
- the name of the result fieldtype
- which the field is casted to- Returns:
- value of the the given field form the result casted to the given type
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
asMap
Map<String,Object> asMap()
- Returns:
- result fields as Map (field names as keys)
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
asArray
Object[] asArray()
- Returns:
- result fields as Array of Objects
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
first
Object first()
- Returns:
- value of the first field from the result
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
first
<T> T first(Class<T> type)
- Parameters:
type
- which the result is casted to- Returns:
- value of the the first element from the result casted to the given type
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-