Class ConfigurationInfo

java.lang.Object
jadex.model.modelinfo.Startable
jadex.model.modelinfo.ConfigurationInfo

public class ConfigurationInfo extends Startable
Information contained in a component configuration.
  • Field Details

    • name

      protected String name
      The name.
    • components

      protected List<ComponentInstanceInfo> components
      The list of contained components.
    • arguments

      protected List<jadex.common.UnparsedExpression> arguments
      The list of argument default values.
    • results

      protected List<jadex.common.UnparsedExpression> results
      The list of result default values.
    • initialsteps

      protected List<jadex.common.UnparsedExpression> initialsteps
      The initial steps.
    • endsteps

      protected List<jadex.common.UnparsedExpression> endsteps
      The end steps.
  • Constructor Details

    • ConfigurationInfo

      public ConfigurationInfo()
      Create a new application.
    • ConfigurationInfo

      public ConfigurationInfo(String name)
      Create a new application.
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      The name.
    • setName

      public void setName(String name)
      Set the name.
      Parameters:
      name - The name to set.
    • addComponentInstance

      public void addComponentInstance(ComponentInstanceInfo component)
      Add a component.
      Parameters:
      component - The component.
    • removeComponentInstance

      public void removeComponentInstance(ComponentInstanceInfo component)
      Removes a component.
      Parameters:
      component - The component.
    • getComponentInstances

      public ComponentInstanceInfo[] getComponentInstances()
      Get all components.
      Returns:
      The components.
    • hasComponentInstance

      public boolean hasComponentInstance(String name, String typename)
      Test if has a component instance.
    • getArguments

      public jadex.common.UnparsedExpression[] getArguments()
      Get the list of arguments.
      Returns:
      The arguments.
    • setArguments

      public void setArguments(jadex.common.UnparsedExpression[] arguments)
      Set the arguments.
      Parameters:
      arguments - The arguments to set.
    • addArgument

      public void addArgument(jadex.common.UnparsedExpression argument)
      Add an argument.
      Parameters:
      arg - The argument.
    • hasArgument

      public boolean hasArgument(String name)
      Test if has an argument.
    • getResults

      public jadex.common.UnparsedExpression[] getResults()
      Get the list of results.
      Returns:
      The results.
    • setResults

      public void setResults(jadex.common.UnparsedExpression[] results)
      Set the arguments.
      Parameters:
      arguments - The arguments to set.
    • hasResult

      public boolean hasResult(String name)
      Test if has a result.
    • addResult

      public void addResult(jadex.common.UnparsedExpression res)
      Add a result.
      Parameters:
      res - The result.
    • getInitialSteps

      public jadex.common.UnparsedExpression[] getInitialSteps()
      Get the initial steps.
      Returns:
      The initial steps.
    • setInitialSteps

      public void setInitialSteps(jadex.common.UnparsedExpression[] initialsteps)
      Set the initial steps.
      Parameters:
      initial - steps The initial steps to set.
    • addInitialStep

      public void addInitialStep(jadex.common.UnparsedExpression initialstep)
      Add a initial step.
      Parameters:
      initialstep - The initial step.
    • getEndSteps

      public jadex.common.UnparsedExpression[] getEndSteps()
      Get the end steps.
      Returns:
      The end steps.
    • setEndSteps

      public void setEndSteps(jadex.common.UnparsedExpression[] endsteps)
      Set the end steps.
      Parameters:
      end - steps The end steps to set.
    • addEndStep

      public void addEndStep(jadex.common.UnparsedExpression endstep)
      Add a end step.
      Parameters:
      endstep - The end step.