Class ForestSpec.SQuery
Object
SQuery
- Enclosing class:
- ForestSpec
Represents a SQuery. See
ForestSpec.sQuery(String, String) for details.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ForestSpec.SQueryfromRest(RestForestSpec rfs) getQuery()Returns the query text.getType()Returns the query type.inthashCode()booleanReturns true if the query can be treated as "show all recent items".
-
Field Details
-
TYPE_JQL
- See Also:
-
TYPE_TEXT
- See Also:
-
TYPE_CQL
- See Also:
-
-
Constructor Details
-
SQuery
Creates SQuery instance.- Parameters:
type- one of the known query typesquery- query text, can be empty string
-
-
Method Details
-
getQuery
Returns the query text. -
getType
Returns the query type. -
isShowRecent
@Internal public boolean isShowRecent()Returns true if the query can be treated as "show all recent items". -
equals
-
hashCode
public int hashCode() -
fromRest
-