Class ScriptFileReference
- java.lang.Object
-
- org.openhab.core.automation.module.script.rulesupport.loader.ScriptFileReference
-
- All Implemented Interfaces:
Comparable<ScriptFileReference>
@NonNullByDefault public class ScriptFileReference extends Object implements Comparable<ScriptFileReference>
Script File wrapper offering various methods to inspect the script- Author:
- Jonathan Gilbert - initial contribution
-
-
Constructor Summary
Constructors Constructor Description ScriptFileReference(URL scriptFileURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ScriptFileReference other)
boolean
equals(@Nullable Object o)
URL
getScriptFileURL()
String
getScriptIdentifier()
Optional<String>
getScriptType()
int
getStartLevel()
int
hashCode()
-
-
-
Constructor Detail
-
ScriptFileReference
public ScriptFileReference(URL scriptFileURL)
-
-
Method Detail
-
getScriptFileURL
public URL getScriptFileURL()
-
getStartLevel
public int getStartLevel()
-
getScriptIdentifier
public String getScriptIdentifier()
-
compareTo
public int compareTo(ScriptFileReference other)
- Specified by:
compareTo
in interfaceComparable<ScriptFileReference>
-
-