Interface SubProcessCallStart

All Superinterfaces:
SubProcessCallStartParam
All Known Subinterfaces:
SubProcess

public interface SubProcessCallStart extends SubProcessCallStartParam
API:
This is a public API.
  • Method Details

    • call

      SubProcessCallResult call(Object... paramValues)
      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

      Finds sub process starts on the basis of a filter.

      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.