java.lang.Object
com.inductiveautomation.ignition.common.project.resource.ResourceType
All Implemented Interfaces:
Serializable

public class ResourceType extends Object implements Serializable
See Also:
  • Constructor Details

    • ResourceType

      public ResourceType(@Nonnull String moduleId, @Nullable String typeId)
  • Method Details

    • getModuleId

      public String getModuleId()
    • rootPath

      public ResourcePath rootPath()
      Returns:
      the ResourcePath for a resource to be placed in the module root. Applicable for root folders and singleton resources.
    • subPath

      public ResourcePath subPath(String path)
    • childOrSubPath

      public ResourcePath childOrSubPath(ResourcePath potentialFolder, String path)
    • matches

      public boolean matches(ChangeOperation op)
    • getTypeId

      public String getTypeId()
      Returns:
      the resource type found after the moduleId in a resource's path
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object