Interface Scope

  • All Superinterfaces:
    com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable

    public interface Scope
    extends com.google.gwt.user.client.rpc.IsSerializable, java.io.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 SharedContext.createScope().

    Methods Object.equals(Object) and Object.hashCode() are implemented, so instances can be used with collections
    Since:
    3.9.0
    • Method Detail

      • projectId

        @Nullable
        java.lang.String projectId()
      • path

        @NotNull
        java.lang.String path()
        Returns:
        • / for global scope (when isGlobal() returns true)
        • /[group_path] for project group
        • [project_id] for project (when projectId() returns not null value)
      • isGlobal

        boolean isGlobal()