Class RIFLDocument

java.lang.Object
soot.jimple.infoflow.rifl.RIFLDocument

public class RIFLDocument extends Object
Class representing a full RIFL specification document
Author:
Steven Arzt
  • Constructor Details

    • RIFLDocument

      public RIFLDocument()
  • Method Details

    • getInterfaceSpec

      public RIFLDocument.InterfaceSpec getInterfaceSpec()
      Gets the interface specification
      Returns:
      The interface specification
    • getDomains

      public List<RIFLDocument.DomainSpec> getDomains()
      Gets the list of domains
      Returns:
      The list of domains
    • getDomainByName

      public RIFLDocument.DomainSpec getDomainByName(String domainName)
      Gets the flow domain with the given name
      Parameters:
      domainName - The name of the flow domain to retrieve
      Returns:
      The flow domain with the given name. If no domain with the given name can be found, null is returned.
    • getDomainAssignment

      public List<RIFLDocument.DomainAssignment> getDomainAssignment()
      Gets the list of domain assignments
      Returns:
      The list of domain assignments
    • getFlowPolicy

      public List<RIFLDocument.FlowPair> getFlowPolicy()
      Gets the flow policy as a list of pair of domains between each data flows are allowed
      Returns:
      The flow policy
    • getRIFLSpecVersion

      public static String getRIFLSpecVersion()
      Gets the version number of the RIFL specification modeled by these data classes
      Returns:
      The version number of the RIFL specification
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object