Class EncapsulatedActorsContainer

    • Constructor Detail

      • EncapsulatedActorsContainer

        public EncapsulatedActorsContainer()
        Default constructor.
      • EncapsulatedActorsContainer

        public EncapsulatedActorsContainer​(Actor actor,
                                           Variables variables,
                                           Storage storage)
        Initializes the container with the actors, variables and storage.
        Parameters:
        actor - the actor to store
        variables - the variables to store
        storage - the storage items to store
      • EncapsulatedActorsContainer

        public EncapsulatedActorsContainer​(Actor actor,
                                           Variables variables,
                                           Storage storage,
                                           Object input,
                                           StorageName inputName)
        Initializes the container with the actors, variables and storage.
        Parameters:
        actor - the actor to store
        variables - the variables to store
        storage - the storage items to store
        input - the input token payload, can be null
        inputName - the input name in storage, can be null
      • EncapsulatedActorsContainer

        public EncapsulatedActorsContainer​(Actor actor,
                                           Variables variables,
                                           Storage storage,
                                           Object input,
                                           StorageName inputName,
                                           Object output,
                                           StorageName outputName)
        Initializes the container with the actors, variables and storage.
        Parameters:
        actor - the actor to store
        variables - the variables to store
        storage - the storage items to store
        input - the input token payload, can be null
        inputName - the input name in storage, can be null
        output - the output, can be null
        outputName - the output name in storage, can be null
    • Method Detail

      • isValid

        public boolean isValid()
        Checks whether the setup of the container is valid.
        Specified by:
        isValid in interface Container
        Specified by:
        isValid in class AbstractContainer
        Returns:
        true if all the necessary values are available