java.lang.Object
org.palladiosimulator.pcm.confidentiality.context.scenarioanalysis.helpers.AttributeProviderHandler

public class AttributeProviderHandler extends Object
Class for handling AttributeProvider in the scenario analysis. It helps to identify context/credential changes during the analysis
  • Constructor Summary

    Constructors
    Constructor
    Description
    AttributeProviderHandler(List<org.palladiosimulator.pcm.confidentiality.context.system.AttributeProvider> attributeProviders)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<? extends org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification>
    getContext(org.palladiosimulator.pcm.core.composition.AssemblyConnector conntector, List<org.palladiosimulator.pcm.core.composition.AssemblyContext> assemblyContext)
    Searches for matching AttributeProviders based on the AssemblyConnector and the current AssemblyContext.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AttributeProviderHandler

      public AttributeProviderHandler(List<org.palladiosimulator.pcm.confidentiality.context.system.AttributeProvider> attributeProviders)
      Parameters:
      attributeProviders -
  • Method Details

    • getContext

      public List<? extends org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> getContext(org.palladiosimulator.pcm.core.composition.AssemblyConnector conntector, List<org.palladiosimulator.pcm.core.composition.AssemblyContext> assemblyContext)
      Searches for matching AttributeProviders based on the AssemblyConnector and the current AssemblyContext. It return a list of UsageSpecifications which acts as credentials
      Parameters:
      conntector - the targeted Connector
      assemblyContext - the current assemblyContext
      Returns:
      List with UsageSpecification, empty if no AttributeProviderExists