Class AutoscaledProcess

java.lang.Object
com.appiancorp.suiteapi.autoscale.process.AutoscaledProcess

public final class AutoscaledProcess extends Object
AutoscaledProcess This is the access point for all Autoscaled Process APIs. Note: Only process models with autoscaling mode enabled are compatible with this class.
  • Method Details

    • getModels

      public static Models getModels(String asUsername, Locale locale) throws AutoscaledProcessException
      Get a concrete instance of a Models, from which one may obtain AutoscaledProcess Models. If the UUID is already known, use modelReference instead. Note: Only process models with autoscaling mode enabled are compatible with this function.
      Parameters:
      asUsername - used for initiating process, must be valid on the AutoscaledProcess system
      locale - used for locale sensitive operations, e.g., Locale.US
      Returns:
      an instance of Models
      Throws:
      ModelsNotAvailableException - if not available
      AutoscaledProcessException
    • getModels

      public static Models getModels(ServiceContext serviceContext) throws AutoscaledProcessException
      Get a concrete instance of a Models, from which one may obtain AutoscaledProcess Models. If the UUID is already known, use modelReference instead. Note: Only process models with autoscaling mode enabled are compatible with this function.
      Parameters:
      serviceContext - used for initiating process, must be valid on the AutoscaledProcess system
      Returns:
      an instance of Models
      Throws:
      ModelsNotAvailableException - if not available
      AutoscaledProcessException