org.kie.workbench.common.screens.server.management.model.impl
Class ServerRefImpl
java.lang.Object
org.kie.workbench.common.screens.server.management.model.impl.ServerRefImpl
- All Implemented Interfaces:
- ServerRef
- Direct Known Subclasses:
- ServerImpl
@Portable
public class ServerRefImpl
- extends Object
- implements ServerRef
containersRef
protected final Map<String,ContainerRef> containersRef
ServerRefImpl
public ServerRefImpl()
ServerRefImpl
public ServerRefImpl(String id,
String name,
ContainerStatus status,
ConnectionType connectionType,
Map<String,String> properties,
Collection<ContainerRef> containerRefs)
getId
public String getId()
- Specified by:
getId in interface ServerRef
getName
public String getName()
- Specified by:
getName in interface ServerRef
getStatus
public ContainerStatus getStatus()
- Specified by:
getStatus in interface ServerRef
getConnectionType
public ConnectionType getConnectionType()
- Specified by:
getConnectionType in interface ServerRef
getProperties
public Map<String,String> getProperties()
- Specified by:
getProperties in interface ServerRef
getContainersRef
public Collection<ContainerRef> getContainersRef()
- Specified by:
getContainersRef in interface ServerRef
hasContainerRef
public boolean hasContainerRef(String id)
- Specified by:
hasContainerRef in interface ServerRef
getContainerRef
public ContainerRef getContainerRef(String containerId)
- Specified by:
getContainerRef in interface ServerRef
addContainerRef
public void addContainerRef(ContainerRef containerRef)
- Specified by:
addContainerRef in interface ServerRef
deleteContainer
public void deleteContainer(String containerId)
- Specified by:
deleteContainer in interface ServerRef
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.