Class ConfigurationInfo


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

      • name

        protected java.lang.String name
        The name.
      • components

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

        protected java.util.List<UnparsedExpression> arguments
        The list of argument default values.
      • results

        protected java.util.List<UnparsedExpression> results
        The list of result default values.
      • providedservices

        protected java.util.List<ProvidedServiceInfo> providedservices
        The provided service overridings.
      • requiredservices

        protected java.util.List<RequiredServiceInfo> requiredservices
        The required service overridings.
      • initialsteps

        protected java.util.List<UnparsedExpression> initialsteps
        The initial steps.
    • Constructor Detail

      • ConfigurationInfo

        public ConfigurationInfo()
        Create a new application.
      • ConfigurationInfo

        public ConfigurationInfo​(java.lang.String name)
        Create a new application.
    • Method Detail

      • getName

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

        public void setName​(java.lang.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​(java.lang.String name,
                                            java.lang.String typename)
        Test if has a component instance.
      • getArguments

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

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

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

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

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

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

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

        public void addResult​(UnparsedExpression res)
        Add a result.
        Parameters:
        res - The result.
      • getProvidedServices

        public ProvidedServiceInfo[] getProvidedServices()
        Get the provided services.
        Returns:
        The provided services.
      • setProvidedServices

        public void setProvidedServices​(ProvidedServiceInfo[] providedservices)
        Set the provided services.
        Parameters:
        provided - services The provided services to set.
      • addProvidedService

        public void addProvidedService​(ProvidedServiceInfo providedservice)
        Add a provided service.
        Parameters:
        providedservice - The provided service.
      • removeProvidedService

        public void removeProvidedService​(ProvidedServiceInfo providedservice)
        Remove a provided service.
        Parameters:
        providedservice - The provided service.
      • hasProvidedService

        public boolean hasProvidedService​(java.lang.String name)
        Test if has a provided service.
      • getServices

        public RequiredServiceInfo[] getServices()
        Get the required services.
        Returns:
        The required services.
      • setRequiredServices

        public void setRequiredServices​(RequiredServiceInfo[] requiredservices)
        Set the required services.
        Parameters:
        required - services The required services to set.
      • addRequiredService

        public void addRequiredService​(RequiredServiceInfo requiredservice)
        Add a required service.
        Parameters:
        requiredservice - The required service.
      • removeRequiredService

        public void removeRequiredService​(RequiredServiceInfo requiredservice)
        Remove a required service.
        Parameters:
        requiredservice - The required service.
      • hasRequiredService

        public boolean hasRequiredService​(java.lang.String name)
        Test if has a required service.
      • getInitialSteps

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

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

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

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

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

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