public final class SourceId extends Object
This class is fully thread-safe.
| Modifier and Type | Field and Description |
|---|---|
static SourceId |
Html
Instructs the logSource methods of the Session class to choose syntax highlighting for HTML.
|
static SourceId |
Ini
Instructs the logSource methods of the Session class to choose
syntax highlighting for INI files.
|
static SourceId |
JavaScript
Instructs the logSource methods of the Session class to choose
syntax highlighting for JavaScript.
|
static SourceId |
Perl
Instructs the logSource methods of the Session class to choose
syntax highlighting for Perl.
|
static SourceId |
Python
Instructs the logSource methods of the Session class to choose
syntax highlighting for Python.
|
static SourceId |
Sql
Instructs the logSource methods of the Session class to choose
syntax highlighting for SQL.
|
static SourceId |
VbScript
Instructs the logSource methods of the Session class to choose
syntax highlighting for VBScript.
|
static SourceId |
Xml
Instructs the logSource methods of the Session class to choose
syntax highlighting for XML.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Indicates whether some other object is equal to this one.
|
int |
getIntValue()
Returns the integer value of this enum.
|
boolean |
greater(com.gurock.smartinspect.Enum en)
Indicates whether the integer value of this Enum is greater
than the integer value of some other Enum.
|
boolean |
greaterEqual(com.gurock.smartinspect.Enum en)
Indicates whether the integer value of this Enum is greater
than or equal to the integer value of some other Enum.
|
boolean |
less(com.gurock.smartinspect.Enum en)
Indicates whether the integer value of this Enum is less than
the integer value of some other Enum.
|
boolean |
lessEqual(com.gurock.smartinspect.Enum en)
Indicates whether the integer value of this Enum is less than
or equal to the integer value of some other Enum.
|
String |
toString()
Overridden.
|
protected ViewerId |
toViewerId()
Returns the related viewer ID for this object.
|
public static final SourceId Html
public static final SourceId JavaScript
public static final SourceId VbScript
public static final SourceId Perl
public static final SourceId Sql
public static final SourceId Ini
public static final SourceId Python
public static final SourceId Xml
public String toString()
protected ViewerId toViewerId()
public int getIntValue()
public boolean equals(Object o)
This method returns true if the supplied Object is an Enum and has the same integer value as returned by the getIntValue() method of this object. If the supplied Object is not an Enum, this method calls the equals method of the parent class.
public boolean less(com.gurock.smartinspect.Enum en)
en - The enum to compare this enum with.public boolean lessEqual(com.gurock.smartinspect.Enum en)
en - The enum to compare this enum with.public boolean greater(com.gurock.smartinspect.Enum en)
en - The enum to compare this enum with.public boolean greaterEqual(com.gurock.smartinspect.Enum en)
en - The enum to compare this enum with.Copyright © 2023. All rights reserved.