Package ch.ivyteam.ivy.process.call
Interface SubProcessCallStart
- All Superinterfaces:
SubProcessCallStartParam
- All Known Subinterfaces:
SubProcess
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionDirectly calls a CallSubStart with the given parameters.static List<SubProcessCallStart>
find
(SubProcessSearchFilter filter) Findssub process starts
on the basis of afilter
.Methods inherited from interface ch.ivyteam.ivy.process.call.SubProcessCallStartParam
withParam
-
Method Details
-
call
Directly calls a CallSubStart with the given parameters. The parameter count has to match exactly to the CallSubStart which you want to call.
If at this stage is not clear which start is called they are filtered by the count of the given parameters.- Parameters:
paramValues
-- Returns:
- a
SubProcessCallResult
which provides the result of the call. - Throws:
IllegalArgumentException
- if there are no or multiple CallSubStarts with the given parameter count in the sub process- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
find
Findssub process starts
on the basis of afilter
.Example finds sub process starts:
SubProcessSearchFilter filter = SubProcessSearchFilter.create() .setProcessPath("testSub") .setSignature("call(String)") .toFilter(); List<SubProcessCallStart> foundSubProcessStarts = SubProcessCallStart.find(filter);
- Parameters:
filter
- search filter- Returns:
- a list with the found sub process starts
- API:
- This public API is available in Java.
-