|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.configuration.ShareScope
public class ShareScope
The level of sharing associated with a telemetry chart or report definition. The share scope can be global, project or private (not shared).
V8 Notes: Initially, all scope will be global. This is an enumerated type and really should be implemented that way.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests whether this instance equals another instance. |
static ShareScope |
getGlobalShareScope()
Gets the global share scope. |
static ShareScope |
getPrivateShareScope()
Gets the private share scope. |
org.hackystat.sensorbase.resource.projects.jaxb.Project |
getProject()
Gets the project if the the share scope is project. |
static ShareScope |
getProjectShareScope(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
Gets the project share scope. |
int |
hashCode()
Gets the hash code. |
boolean |
isGlobal()
Checks whether is share scope is global. |
boolean |
isPrivate()
Checks whether is share scope is private. |
boolean |
isProject()
Checks whether is share scope is project. |
java.lang.String |
serializeToString()
Serialized this instance to a string. |
java.lang.String |
toString()
Gets the string representation of this instance. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ShareScope getGlobalShareScope()
public static ShareScope getProjectShareScope(org.hackystat.sensorbase.resource.projects.jaxb.Project project)
project
- The project.
public static ShareScope getPrivateShareScope()
public org.hackystat.sensorbase.resource.projects.jaxb.Project getProject() throws TelemetryConfigurationException
TelemetryConfigurationException
- If the share scope is not project.public boolean isGlobal()
public boolean isProject()
public boolean isPrivate()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String serializeToString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Another instance.
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |