public abstract class BimBotAbstractService extends AbstractService implements BimBotsServiceInterface
AbstractService.ProgressType, AbstractService.RunningService| Constructor and Description |
|---|
BimBotAbstractService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequiredRights(ServiceDescriptor serviceDescriptor) |
Set<String> |
getAvailableInputs() |
Set<String> |
getAvailableOutputs() |
abstract String |
getOutputSchema() |
void |
newRevision(AbstractService.RunningService runningService,
BimServerClientInterface bimServerClientInterface,
long poid,
long roid,
String userToken,
long soid,
SObjectType settings)
This method gets called when there is a new revision
|
getPluginContext, getProgressType, getSettingsDefinition, init, register, unregistergetLocalBimServerClientInterface, getPluginType, getServiceInterface, registerNewExtendedDataOnProjectHandler, registerNewExtendedDataOnRevisionHandler, registerNewRevisionHandler, unregisterNewRevisionHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunBimBotpublic void newRevision(AbstractService.RunningService runningService, BimServerClientInterface bimServerClientInterface, long poid, long roid, String userToken, long soid, SObjectType settings) throws Exception
AbstractServicenewRevision in class AbstractServicerunningService - A reference to the RunningService, you can use it to update the progress if you know itbimServerClientInterface - A client with the proper authorization on this or a remote BIMserver to fetch the revision, and write extended data topoid - ProjectID of the projectroid - RevisionID of the new revisionuserToken - Optional token, unused at the momentsoid - ServiceIDsettings - Optional settings a user might have given in the InternalService settingsExceptionpublic void addRequiredRights(ServiceDescriptor serviceDescriptor)
addRequiredRights in class AbstractServicepublic Set<String> getAvailableOutputs() throws BimBotsException
getAvailableOutputs in interface BimBotsServiceInterfaceBimBotsExceptionpublic Set<String> getAvailableInputs() throws BimBotsException
getAvailableInputs in interface BimBotsServiceInterfaceBimBotsExceptionpublic abstract String getOutputSchema()
Copyright © 2018 OpenSource BIM. All rights reserved.