Class Traceable

java.lang.Object
org.apache.sling.provisioning.model.Traceable
Direct Known Subclasses:
Commentable, Model, RunMode

public abstract class Traceable extends Object
A traceable has an optional location.
  • Constructor Details

    • Traceable

      public Traceable()
  • Method Details

    • getLocation

      public String getLocation()
      Get the location. The location might be the location of the model file or any other means identifying where the object is defined.
      Returns:
      The location or null.
    • setLocation

      public void setLocation(String value)
      Set the location.
      Parameters:
      value - The new location.
    • toString

      public String toString()
      Overrides:
      toString in class Object