public class ConfigurationInfo extends Startable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<UnparsedExpression> |
arguments
The list of argument default values.
|
protected java.util.List<ComponentInstanceInfo> |
components
The list of contained components.
|
protected java.util.List<UnparsedExpression> |
endsteps
The end steps.
|
protected java.util.List<UnparsedExpression> |
initialsteps
The initial steps.
|
protected java.lang.String |
name
The name.
|
protected java.util.List<ProvidedServiceInfo> |
providedservices
The provided service overridings.
|
protected java.util.List<RequiredServiceInfo> |
requiredservices
The required service overridings.
|
protected java.util.List<UnparsedExpression> |
results
The list of result default values.
|
description
Constructor and Description |
---|
ConfigurationInfo()
Create a new application.
|
ConfigurationInfo(java.lang.String name)
Create a new application.
|
Modifier and Type | Method and Description |
---|---|
void |
addArgument(UnparsedExpression argument)
Add an argument.
|
void |
addComponentInstance(ComponentInstanceInfo component)
Add a component.
|
void |
addEndStep(UnparsedExpression endstep)
Add a end step.
|
void |
addInitialStep(UnparsedExpression initialstep)
Add a initial step.
|
void |
addProvidedService(ProvidedServiceInfo providedservice)
Add a provided service.
|
void |
addRequiredService(RequiredServiceInfo requiredservice)
Add a required service.
|
void |
addResult(UnparsedExpression res)
Add a result.
|
UnparsedExpression[] |
getArguments()
Get the list of arguments.
|
ComponentInstanceInfo[] |
getComponentInstances()
Get all components.
|
UnparsedExpression[] |
getEndSteps()
Get the end steps.
|
UnparsedExpression[] |
getInitialSteps()
Get the initial steps.
|
java.lang.String |
getName()
Get the name.
|
ProvidedServiceInfo[] |
getProvidedServices()
Get the provided services.
|
RequiredServiceInfo[] |
getRequiredServices()
Get the required services.
|
UnparsedExpression[] |
getResults()
Get the list of results.
|
boolean |
hasArgument(java.lang.String name)
Test if has an argument.
|
boolean |
hasComponentInstance(java.lang.String name,
java.lang.String typename)
Test if has a component instance.
|
boolean |
hasProvidedService(java.lang.String name)
Test if has a provided service.
|
boolean |
hasRequiredService(java.lang.String name)
Test if has a required service.
|
boolean |
hasResult(java.lang.String name)
Test if has a result.
|
void |
removeComponentInstance(ComponentInstanceInfo component)
Removes a component.
|
void |
removeProvidedService(ProvidedServiceInfo providedservice)
Remove a provided service.
|
void |
removeRequiredService(RequiredServiceInfo requiredservice)
Remove a required service.
|
void |
setArguments(UnparsedExpression[] arguments)
Set the arguments.
|
void |
setEndSteps(UnparsedExpression[] endsteps)
Set the end steps.
|
void |
setInitialSteps(UnparsedExpression[] initialsteps)
Set the initial steps.
|
void |
setName(java.lang.String name)
Set the name.
|
void |
setProvidedServices(ProvidedServiceInfo[] providedservices)
Set the provided services.
|
void |
setRequiredServices(RequiredServiceInfo[] requiredservices)
Set the required services.
|
void |
setResults(UnparsedExpression[] results)
Set the arguments.
|
getAutoShutdown, getDaemon, getDescription, getKeepalive, getMaster, getMonitoring, getPersistable, getScope, getSuspend, getSynchronous, setAutoShutdown, setDaemon, setDescription, setKeepalive, setMaster, setMonitoring, setPersistable, setScope, setSuspend, setSynchronous
protected java.lang.String name
protected java.util.List<ComponentInstanceInfo> components
protected java.util.List<UnparsedExpression> arguments
protected java.util.List<UnparsedExpression> results
protected java.util.List<ProvidedServiceInfo> providedservices
protected java.util.List<RequiredServiceInfo> requiredservices
protected java.util.List<UnparsedExpression> initialsteps
protected java.util.List<UnparsedExpression> endsteps
public ConfigurationInfo()
public ConfigurationInfo(java.lang.String name)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public void addComponentInstance(ComponentInstanceInfo component)
component
- The component.public void removeComponentInstance(ComponentInstanceInfo component)
component
- The component.public ComponentInstanceInfo[] getComponentInstances()
public boolean hasComponentInstance(java.lang.String name, java.lang.String typename)
public UnparsedExpression[] getArguments()
public void setArguments(UnparsedExpression[] arguments)
arguments
- The arguments to set.public void addArgument(UnparsedExpression argument)
arg
- The argument.public boolean hasArgument(java.lang.String name)
public UnparsedExpression[] getResults()
public void setResults(UnparsedExpression[] results)
arguments
- The arguments to set.public boolean hasResult(java.lang.String name)
public void addResult(UnparsedExpression res)
res
- The result.public ProvidedServiceInfo[] getProvidedServices()
public void setProvidedServices(ProvidedServiceInfo[] providedservices)
provided
- services The provided services to set.public void addProvidedService(ProvidedServiceInfo providedservice)
providedservice
- The provided service.public void removeProvidedService(ProvidedServiceInfo providedservice)
providedservice
- The provided service.public boolean hasProvidedService(java.lang.String name)
public RequiredServiceInfo[] getRequiredServices()
public void setRequiredServices(RequiredServiceInfo[] requiredservices)
required
- services The required services to set.public void addRequiredService(RequiredServiceInfo requiredservice)
requiredservice
- The required service.public void removeRequiredService(RequiredServiceInfo requiredservice)
requiredservice
- The required service.public boolean hasRequiredService(java.lang.String name)
public UnparsedExpression[] getInitialSteps()
public void setInitialSteps(UnparsedExpression[] initialsteps)
initial
- steps The initial steps to set.public void addInitialStep(UnparsedExpression initialstep)
initialstep
- The initial step.public UnparsedExpression[] getEndSteps()
public void setEndSteps(UnparsedExpression[] endsteps)
end
- steps The end steps to set.public void addEndStep(UnparsedExpression endstep)
endstep
- The end step.