public class PlatformAPIImpl extends Object implements PlatformAPI
| Constructor and Description |
|---|
PlatformAPIImpl() |
public void createPlatform()
throws CreationException
createPlatform in interface PlatformAPICreationExceptionpublic void initializePlatform()
throws CreationException
initializePlatform in interface PlatformAPICreationExceptionpublic void createAndInitializePlatform()
throws CreationException
createAndInitializePlatform in interface PlatformAPICreationExceptionprotected PlatformServiceAccessor getPlatformAccessor() throws BonitaHomeNotSetException, InstantiationException, IllegalAccessException, ClassNotFoundException, IOException, BonitaHomeConfigurationException
public void startNode()
throws StartNodeException
startNode in interface PlatformAPIStartNodeExceptionprotected List<org.bonitasoft.engine.commons.PlatformLifecycleService> getPlatformServicesToStart(NodeConfiguration platformConfiguration) throws StartNodeException
StartNodeExceptionpublic void stopNode()
throws StopNodeException
stopNode in interface PlatformAPIStopNodeExceptionpublic void cleanPlatform()
throws DeletionException
cleanPlatform in interface PlatformAPIDeletionExceptionpublic void deletePlatform()
throws DeletionException
deletePlatform in interface PlatformAPIDeletionException@Deprecated public void cleanAndDeletePlaftorm() throws DeletionException
cleanAndDeletePlaftorm in interface PlatformAPIDeletionExceptionpublic void cleanAndDeletePlatform()
throws DeletionException
cleanAndDeletePlatform in interface PlatformAPIDeletionExceptionpublic Platform getPlatform() throws PlatformNotFoundException
getPlatform in interface PlatformAPIPlatformNotFoundExceptionprotected void cleanSessionAccessor(org.bonitasoft.engine.sessionaccessor.SessionAccessor sessionAccessor,
long platformSessionId)
protected Long createSession(long tenantId, SessionService sessionService) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic boolean isPlatformInitialized()
throws PlatformNotFoundException
isPlatformInitialized in interface PlatformAPIPlatformNotFoundExceptionpublic boolean isPlatformCreated()
throws PlatformNotFoundException
isPlatformCreated in interface PlatformAPIPlatformNotFoundExceptionpublic PlatformState getPlatformState()
getPlatformState in interface PlatformAPIpublic boolean isNodeStarted()
isNodeStarted in interface PlatformAPIpublic void rescheduleErroneousTriggers()
throws UpdateException
rescheduleErroneousTriggers in interface PlatformAPIUpdateExceptionpublic Map<String,byte[]> getClientPlatformConfigurations()
getClientPlatformConfigurations in interface PlatformAPIpublic Map<Long,Map<String,byte[]>> getClientTenantConfigurations()
getClientTenantConfigurations in interface PlatformAPIpublic byte[] getClientTenantConfiguration(long tenantId,
String file)
getClientTenantConfiguration in interface PlatformAPIpublic void updateClientTenantConfigurationFile(long tenantId,
String file,
byte[] content)
throws UpdateException
updateClientTenantConfigurationFile in interface PlatformAPIUpdateExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.