Class TemplateWorkspaceImpl

    • Constructor Detail

      • TemplateWorkspaceImpl

        @DataBoundConstructor
        public TemplateWorkspaceImpl​(String charset,
                                     boolean pinHost,
                                     String templateName,
                                     String format)
    • Method Detail

      • getTemplateName

        public String getTemplateName()
      • getFormat

        public String getFormat()
      • 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
      • templateExists

        public boolean templateExists​(com.perforce.p4java.server.IOptionsServer connection)
                               throws Exception
        Throws:
        Exception