Class StaticWorkspaceImpl

    • Constructor Detail

      • StaticWorkspaceImpl

        @Deprecated
        public StaticWorkspaceImpl​(String charset,
                                   boolean pinHost,
                                   String name,
                                   boolean clone)
        Deprecated.
      • StaticWorkspaceImpl

        @DataBoundConstructor
        public StaticWorkspaceImpl​(String charset,
                                   boolean pinHost,
                                   String name)
    • Method Detail

      • getName

        public String getName()
        Description copied from class: Workspace
        Returns the client workspace name as defined in the configuration. This may include ${tag} that have not been expanded.
        Specified by:
        getName in class Workspace
        Returns:
        Client name
      • setClient

        public com.perforce.p4java.client.IClient setClient​(com.perforce.p4java.server.IOptionsServer connection,
                                                            String user)
                                                     throws Exception
        Description copied from class: Workspace
        Setup/Create a Perforce workspace for this mode.
        Specified by:
        setClient in class Workspace
        Parameters:
        connection - Server connection
        user - Perforce user
        Returns:
        Perforce client
        Throws:
        Exception - push up stack