Class CloudServerInfobase

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.wst.server.core.IModule

    public class CloudServerInfobase
    extends Object
    implements org.eclipse.wst.server.core.IModule
    1C:EDT Cloud server WST module that represents infobase.
    • Constructor Detail

      • CloudServerInfobase

        public CloudServerInfobase​(String infobaseId,
                                   String infobaseName,
                                   String platformVersion,
                                   org.eclipse.core.resources.IProject project)
        Creates an instance of CloudServerInfobase.
        Parameters:
        infobaseId - the infobase id, cannot be null
        infobaseName - the infobase name, cannot be null
        platformVersion - the infobase platformVersion, cannot be null
        project - the parent project or null if none
        Throws:
        org.eclipse.core.runtime.CoreException - if creation failed
      • CloudServerInfobase

        public CloudServerInfobase​(com.e1c.g5.v8.dt.platform.cloud.model.CloudInfobaseReference infobase,
                                   org.eclipse.core.resources.IProject project)
                            throws org.eclipse.core.runtime.CoreException
        Creates an instance of CloudServerInfobase.
        Parameters:
        infobase - the infobase reference, cannot be null
        project - the parent project or null if none
        Throws:
        org.eclipse.core.runtime.CoreException - if creation failed
    • Method Detail

      • exists

        public boolean exists()
        Specified by:
        exists in interface org.eclipse.wst.server.core.IModule
      • getId

        public String getId()
        Specified by:
        getId in interface org.eclipse.wst.server.core.IModule
      • getModuleType

        public org.eclipse.wst.server.core.IModuleType getModuleType()
        Specified by:
        getModuleType in interface org.eclipse.wst.server.core.IModule
      • getName

        public String getName()
        Specified by:
        getName in interface org.eclipse.wst.server.core.IModule
      • getProject

        public org.eclipse.core.resources.IProject getProject()
        Specified by:
        getProject in interface org.eclipse.wst.server.core.IModule
      • isExternal

        public boolean isExternal()
        Specified by:
        isExternal in interface org.eclipse.wst.server.core.IModule
      • getAdapter

        public Object getAdapter​(Class adapter)
        Specified by:
        getAdapter in interface org.eclipse.core.runtime.IAdaptable
        Specified by:
        getAdapter in interface org.eclipse.wst.server.core.IModule
      • loadAdapter

        public Object loadAdapter​(Class adapter,
                                  org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        loadAdapter in interface org.eclipse.wst.server.core.IModule
      • getInfobaseId

        public String getInfobaseId()
        Returns the infobase uniqure id.
        Returns:
        the infobase uniqure id or null if none
      • getInfobaseUri

        public URI getInfobaseUri()
        Returns the infobase web access URL.
        Returns:
        the infobase web access URL or null if none
      • getDebuggerUri

        public URI getDebuggerUri()
        Returns the infobase debug server URL.
        Returns:
        the infobase debug server URL or null if none
      • getDebuggerPassword

        public String getDebuggerPassword()
        Returns the infobase debug server password.
        Returns:
        the infobase debug server password or null if none
      • getDesignerAgentProxy

        public com.e1c.g5.v8.dt.platform.cloud.model.CloudProxy getDesignerAgentProxy()
        Returns the 1C:Enterprise Designer agent Cloud proxy.
        Returns:
        the 1C:Enterprise Designer agent Cloud proxy or null if none
      • getDesignerAgentPort

        public int getDesignerAgentPort()
        Returns the 1C:Enterprise Designer agent Cloud port.
        Returns:
        the 1C:Enterprise Designer agent Cloud port
      • getPlatformVersion

        public String getPlatformVersion()
        Returns the 1C:Enterprise Cloud platform version.
        Returns:
        the 1C:Enterprise Cloud platform version or null if none
      • setProject

        public void setProject​(org.eclipse.core.resources.IProject project)
        Sets the project of the infobase module.
        Parameters:
        project - the project of the infobase module or null if none
      • setInfobase

        public void setInfobase​(com.e1c.g5.v8.dt.platform.cloud.model.CloudInfobaseReference infobase)
        Sets the infobase reference of the infobase module.
        Parameters:
        the - infobase reference of the infobase module, cannot be null
      • getState

        public int getState()
        Returns the infobase module state in terms of WST server module.
        Returns:
        the infobase module state in terms of WST server module
        See Also:
        IServer.getModuleState(IModule[]), IServerConstants
      • setState

        public void setState​(int state)
        Sets the infobase module state in terms of WST server module.
        Parameters:
        state - the infobase module state in terms of WST server module to set
        See Also:
        IServer.getModuleState(IModule[]), IServerConstants
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object