Kie Workbench - Server Component - Backend 6.2.0.CR4

org.kie.workbench.common.screens.server.management.backend
Class RemoteAccessImpl

java.lang.Object
  extended by org.kie.workbench.common.screens.server.management.backend.RemoteAccessImpl

@ApplicationScoped
public class RemoteAccessImpl
extends Object


Constructor Summary
RemoteAccessImpl()
           
 
Method Summary
 boolean containerExists(String serverId, String containerId, String username, String password)
           
 boolean deleteContainer(String serverId, String containerId, String username, String password)
           
 org.uberfire.commons.data.Pair<Boolean,Container> getContainer(String serverId, String containerId, String username, String password)
           
 Container install(String serverId, String containerId, String username, String password, org.guvnor.common.services.project.model.GAV gav)
           
 ScannerOperationResult scanNow(String serverId, String containerId, String username, String password)
           
 ScannerOperationResult startScanner(String serverId, String containerId, String username, String password, long interval)
           
 boolean stop(String serverId, String containerId, String username, String password)
           
 ScannerOperationResult stopScanner(String serverId, String containerId, String username, String password)
           
 Server toServer(String endpoint, String name, String username, String password, ConnectionType remote)
           
 Server toServer(String endpoint, String name, String username, String password, ConnectionType connectionType, Collection<ContainerRef> containerRefs)
           
 ServerRef toServerRef(String endpoint, String name, String username, String password, ConnectionType connectionType, Collection<ContainerRef> containerRefs)
           
 ContainerStatus toStatus(org.kie.server.api.model.KieContainerStatus status)
           
 ScannerStatus toStatus(org.kie.server.api.model.KieScannerResource scanner)
           
 void upgradeContainer(String serverId, String containerId, String username, String password, org.guvnor.common.services.project.model.GAV releaseId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAccessImpl

public RemoteAccessImpl()
Method Detail

toServerRef

public ServerRef toServerRef(String endpoint,
                             String name,
                             String username,
                             String password,
                             ConnectionType connectionType,
                             Collection<ContainerRef> containerRefs)

toServer

public Server toServer(String endpoint,
                       String name,
                       String username,
                       String password,
                       ConnectionType connectionType,
                       Collection<ContainerRef> containerRefs)

install

public Container install(String serverId,
                         String containerId,
                         String username,
                         String password,
                         org.guvnor.common.services.project.model.GAV gav)

stop

public boolean stop(String serverId,
                    String containerId,
                    String username,
                    String password)

toStatus

public ScannerStatus toStatus(org.kie.server.api.model.KieScannerResource scanner)

toStatus

public ContainerStatus toStatus(org.kie.server.api.model.KieContainerStatus status)

deleteContainer

public boolean deleteContainer(String serverId,
                               String containerId,
                               String username,
                               String password)

containerExists

public boolean containerExists(String serverId,
                               String containerId,
                               String username,
                               String password)

toServer

public Server toServer(String endpoint,
                       String name,
                       String username,
                       String password,
                       ConnectionType remote)

getContainer

public org.uberfire.commons.data.Pair<Boolean,Container> getContainer(String serverId,
                                                                      String containerId,
                                                                      String username,
                                                                      String password)

stopScanner

public ScannerOperationResult stopScanner(String serverId,
                                          String containerId,
                                          String username,
                                          String password)

startScanner

public ScannerOperationResult startScanner(String serverId,
                                           String containerId,
                                           String username,
                                           String password,
                                           long interval)

scanNow

public ScannerOperationResult scanNow(String serverId,
                                      String containerId,
                                      String username,
                                      String password)

upgradeContainer

public void upgradeContainer(String serverId,
                             String containerId,
                             String username,
                             String password,
                             org.guvnor.common.services.project.model.GAV releaseId)

Kie Workbench - Server Component - Backend 6.2.0.CR4

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