public class ConfigurationInfo extends Startable
Constructor and Description |
---|
ConfigurationInfo()
Create a new application.
|
ConfigurationInfo(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 |
addExtension(IExtensionInfo extension)
Add a extension type.
|
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.
|
IExtensionInfo[] |
getExtensions()
Get the extension names.
|
UnparsedExpression[] |
getInitialSteps()
Get the initial steps.
|
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(String name)
Test if has an argument.
|
boolean |
hasComponentInstance(String name,
String typename)
Test if has a component instance.
|
boolean |
hasProvidedService(String name)
Test if has a provided service.
|
boolean |
hasRequiredService(String name)
Test if has a required service.
|
boolean |
hasResult(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 |
setExtensions(IExtensionInfo[] extensions)
Set the extension types.
|
void |
setInitialSteps(UnparsedExpression[] initialsteps)
Set the initial steps.
|
void |
setName(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, getMaster, getMonitoring, getSuspend, getSynchronous, setAutoShutdown, setDaemon, setDescription, setMaster, setMonitoring, setSuspend, setSynchronous
public ConfigurationInfo()
public ConfigurationInfo(String name)
public String getName()
public void setName(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(String name, 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(String name)
public UnparsedExpression[] getResults()
public void setResults(UnparsedExpression[] results)
arguments
- The arguments to set.public boolean hasResult(String name)
public void addResult(UnparsedExpression res)
res
- The result.public IExtensionInfo[] getExtensions()
public void setExtensions(IExtensionInfo[] extensions)
public void addExtension(IExtensionInfo extension)
extension
- The extension type.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(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(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.Copyright © 2013. All Rights Reserved.