Package jason.runtime

Class SourcePath

java.lang.Object
jason.runtime.SourcePath
All Implemented Interfaces:
Serializable

public class SourcePath extends Object implements Serializable
manages source paths and fixes absolute path for .asl
See Also:
  • Field Details

  • Constructor Details

    • SourcePath

      public SourcePath()
  • Method Details

    • setRoot

      public void setRoot(String r)
    • getRoot

      public String getRoot()
    • addPath

      public void addPath(String cp)
    • addParentInPath

      public void addParentInPath(String s)
    • addAll

      public void addAll(SourcePath sp)
    • clearPaths

      public void clearPaths()
    • getPaths

      public List<String> getPaths()
    • isEmpty

      public boolean isEmpty()
    • fixPath

      public String fixPath(String f)
      fix path of the asl code based on aslSourcePath, also considers code from a jar file (if urlPrefix is not null)
    • toString

      public String toString()
      Overrides:
      toString in class Object