Class CloudServerInfobase
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.cloud.wst.core.model.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 Summary
Constructors Constructor Description CloudServerInfobase(com.e1c.g5.v8.dt.platform.cloud.model.CloudInfobaseReference infobase, org.eclipse.core.resources.IProject project)
Creates an instance ofCloudServerInfobase
.CloudServerInfobase(String infobaseId, String infobaseName, String platformVersion, org.eclipse.core.resources.IProject project)
Creates an instance ofCloudServerInfobase
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
exists()
Object
getAdapter(Class adapter)
String
getDebuggerPassword()
Returns the infobase debug server password.URI
getDebuggerUri()
Returns the infobase debug server URL.int
getDesignerAgentPort()
Returns the 1C:Enterprise Designer agent Cloud port.com.e1c.g5.v8.dt.platform.cloud.model.CloudProxy
getDesignerAgentProxy()
Returns the 1C:Enterprise Designer agent Cloud proxy.String
getId()
String
getInfobaseId()
Returns the infobase uniqure id.URI
getInfobaseUri()
Returns the infobase web access URL.org.eclipse.wst.server.core.IModuleType
getModuleType()
String
getName()
String
getPlatformVersion()
Returns the 1C:Enterprise Cloud platform version.org.eclipse.core.resources.IProject
getProject()
int
getState()
Returns the infobase module state in terms of WST server module.int
hashCode()
boolean
isExternal()
Object
loadAdapter(Class adapter, org.eclipse.core.runtime.IProgressMonitor monitor)
void
setInfobase(com.e1c.g5.v8.dt.platform.cloud.model.CloudInfobaseReference infobase)
Sets the infobase reference of the infobase module.void
setProject(org.eclipse.core.resources.IProject project)
Sets the project of the infobase module.void
setState(int state)
Sets the infobase module state in terms of WST server module.String
toString()
-
-
-
Constructor Detail
-
CloudServerInfobase
public CloudServerInfobase(String infobaseId, String infobaseName, String platformVersion, org.eclipse.core.resources.IProject project)
Creates an instance ofCloudServerInfobase
.- Parameters:
infobaseId
- the infobase id, cannot benull
infobaseName
- the infobase name, cannot benull
platformVersion
- the infobase platformVersion, cannot benull
project
- the parent project ornull
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 ofCloudServerInfobase
.- Parameters:
infobase
- the infobase reference, cannot benull
project
- the parent project ornull
if none- Throws:
org.eclipse.core.runtime.CoreException
- if creation failed
-
-
Method Detail
-
exists
public boolean exists()
- Specified by:
exists
in interfaceorg.eclipse.wst.server.core.IModule
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.eclipse.wst.server.core.IModule
-
getModuleType
public org.eclipse.wst.server.core.IModuleType getModuleType()
- Specified by:
getModuleType
in interfaceorg.eclipse.wst.server.core.IModule
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.wst.server.core.IModule
-
getProject
public org.eclipse.core.resources.IProject getProject()
- Specified by:
getProject
in interfaceorg.eclipse.wst.server.core.IModule
-
isExternal
public boolean isExternal()
- Specified by:
isExternal
in interfaceorg.eclipse.wst.server.core.IModule
-
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Specified by:
getAdapter
in interfaceorg.eclipse.wst.server.core.IModule
-
loadAdapter
public Object loadAdapter(Class adapter, org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
loadAdapter
in interfaceorg.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 ornull
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 benull
-
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
-
-