Class TransformSet

java.lang.Object
org.jboss.byteman.agent.TransformSet

public class TransformSet extends Object
A TransformSet groups together a set of Transform records which share a common classloader, trigger class name (and RuleScript). The set includes details of successful or failed transforms. This grouping ensures that all transforms arising from a specific retransform operation for a new, modified or deleted script can be managed as a unit. In particular this is needed in order to allow installation and uninstallation of a rule to be performed consistently. Note that although the loader and trigger class name uniquely identify a single trigger class a transform set may still contain more than one successful transform. That is possible because the RuleScript may omit a descriptor and hence may match multiple overloaded variants of the method named in the rule's METHOD clause.
  • Field Details

  • Constructor Details

  • Method Details

    • isFor

      public boolean isFor(ClassLoader loader, String triggerClass)
    • add

      public void add(Transform transform)
    • getLoader

      public ClassLoader getLoader()
    • getTriggerClass

      public String getTriggerClass()
    • isInstalled

      public boolean isInstalled()
    • setInstalled

      public void setInstalled(Rule key)
    • getRule

      public Rule getRule()
    • getTransforms

      public List<Transform> getTransforms()
    • isEmpty

      public boolean isEmpty()
    • clearTransforms

      public void clearTransforms()