Kie Workbench - Server Component - API 6.2.0.Beta1

org.kie.workbench.common.screens.server.management.model.impl
Class ServerRefImpl

java.lang.Object
  extended by 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


Field Summary
protected  Map<String,ContainerRef> containersRef
           
 
Constructor Summary
ServerRefImpl()
           
ServerRefImpl(String id, String name, ContainerStatus status, ConnectionType connectionType, Map<String,String> properties, Collection<ContainerRef> containerRefs)
           
 
Method Summary
 void addContainerRef(ContainerRef containerRef)
           
 void deleteContainer(String containerId)
           
 boolean equals(Object o)
           
 ConnectionType getConnectionType()
           
 ContainerRef getContainerRef(String containerId)
           
 Collection<ContainerRef> getContainersRef()
           
 String getId()
           
 String getName()
           
 Map<String,String> getProperties()
           
 ContainerStatus getStatus()
           
 boolean hasContainerRef(String id)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

containersRef

protected final Map<String,ContainerRef> containersRef
Constructor Detail

ServerRefImpl

public ServerRefImpl()

ServerRefImpl

public ServerRefImpl(String id,
                     String name,
                     ContainerStatus status,
                     ConnectionType connectionType,
                     Map<String,String> properties,
                     Collection<ContainerRef> containerRefs)
Method Detail

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

Kie Workbench - Server Component - API 6.2.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.