Package com.polarion.alm.shared.api
Interface Scope
- All Superinterfaces:
com.google.gwt.user.client.rpc.IsSerializable
,Serializable
Scope of the objects. It can be global, project group or project,
but in future more specific scopes might be added, so don't expect that there are only this 3.
Instances can be created using
Methods
Instances can be created using
SharedContext.createScope()
.Methods
Object.equals(Object)
and Object.hashCode()
are implemented, so instances can be used with collections- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isGlobal()
path()
Returns: / for global scope (whenisGlobal()
returns true) /[group_path] for project group [project_id] for project (whenprojectId()
returns not null value)
-
Method Details
-
projectId
-
path
Returns:- / for global scope (when
isGlobal()
returns true) - /[group_path] for project group
- [project_id] for project (when
projectId()
returns not null value)
- / for global scope (when
-
isGlobal
boolean isGlobal()
-