Class ServiceConfiguration<T extends Service>

java.lang.Object
org.palladiosimulator.retriever.services.ServiceConfiguration<T>

public class ServiceConfiguration<T extends Service> extends Object
  • Constructor Details

    • ServiceConfiguration

      public ServiceConfiguration(ServiceCollection<T> serviceCollection, String selectedServicesKey, String serviceConfigKeyPrefix)
  • Method Details

    • addDependencyProvider

      public void addDependencyProvider(ServiceConfiguration<? extends Service> dependencyProvider)
    • applyAttributeMap

      public void applyAttributeMap(Map<String,Object> attributeMap)
    • getConfig

      public String getConfig(String serviceId, String key)
    • getWholeConfig

      public Map<String,String> getWholeConfig(String serviceId)
    • setConfig

      public void setConfig(String serviceId, String key, String value)
    • select

      public void select(T service)
    • deselect

      public void deselect(T service)
    • isManuallySelected

      public boolean isManuallySelected(T service)
    • getSelected

      public Set<T> getSelected()
    • getExecutionOrder

      public Queue<Collection<T>> getExecutionOrder()
    • getAvailable

      public Collection<T> getAvailable()
    • selectDependenciesOf

      public void selectDependenciesOf(Service service)
    • deselectDependenciesOf

      public void deselectDependenciesOf(Service service)
    • toMap

      public Map<String,Object> toMap()