Class SubProcessSearchFilter.Builder

java.lang.Object
ch.ivyteam.ivy.process.call.SubProcessSearchFilter.Builder
Enclosing class:
SubProcessSearchFilter

public static class SubProcessSearchFilter.Builder extends Object
API:
This is a public API.
  • Method Details

    • setLibraryId

      public SubProcessSearchFilter.Builder setLibraryId(String libraryId)
      Sets the identifier of library to search in
      Parameters:
      libraryId - the Id of the library in which should be searched
      Returns:
      the current builder
      API:
      This public API is available in Java.
    • setProcessPath

      public SubProcessSearchFilter.Builder setProcessPath(String processPath)
      Sets the process path to search in
      Parameters:
      processPath - the path of the process in which should be searched
      Returns:
      the current builder
      API:
      This public API is available in Java.
    • setProcessPathPattern

      public SubProcessSearchFilter.Builder setProcessPathPattern(String processPathPattern)
      Sets the search pattern for the process path
      Parameters:
      processPathPattern - a regex search pattern for the process path
      Returns:
      the current builder
      API:
      This public API is available in Java.
    • setSignature

      public SubProcessSearchFilter.Builder setSignature(String signature)
      Sets the signature after which should be searched
      Parameters:
      signature - the signature to search for e.g. call() or call(String)
      Returns:
      the current builder
      API:
      This public API is available in Java.
    • setSearchInAllProjects

      public SubProcessSearchFilter.Builder setSearchInAllProjects(boolean searchInAllProjects)
      If set to true the sub process is searched in all projects deployed to released pmv's of the current application. In the Designer this means in all projects opened in the workspace. If set to false the sub process is searched in the current project only.
      Parameters:
      searchInAllProjects -
      Returns:
      the current builder
      API:
      This public API is available in Java.
    • setSearchInDependentProjects

      public SubProcessSearchFilter.Builder setSearchInDependentProjects(boolean searchInDependentProjects)
      If set to true the sub process is searched in the given projects and the dependent projects. Set to true by default
      Parameters:
      searchInDependentProjects -
      Returns:
      the current builder
      API:
      This public API is available in Java.
    • toFilter

      public SubProcessSearchFilter toFilter()
      Creates the search filter
      Returns:
      the created search filter
      API:
      This public API is available in Java.