Class ExportCometProjectCommand
java.lang.Object
com.priint.pubserver.comet.integration.ExportCometProjectCommand
The ExportCometProjectCommand class holds all configurations required to export
a comet project via CometExportServiceLocal.exportCometProject(ExportCometProjectCommand).
The command also defines a consumer to handle the individual configuration items (e.g. write to
file system or similar).
Commands should be setup using a builder, example:
ExportCometProjectCommand command =
ExportCommandProjectCommand.builder().
tenant("MyTenant").
projectIdentifier("MyProject").
consumer((name,data) -> {
System.out.println("Retrieved " + name + ", " + data.length + " bytes");
}).
build();
CometExportServiceLocal service = PluginUtils.getPlugin(
CometExportServiceLocal.MAPPED_NAME,
PluginControlDefault.getSessionId(),
CometExportServiceLocal.class);
service.exportCometProject(command);
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic enumstatic enumstatic interfacestatic enumstatic interface -
Method Summary
-
Method Details
-
getFetch
-
getConsumer
-
getCompletion
-
getPreFilter
-
getPostFilter
-
getTenant
-
getProjectIdentifier
-
getEncryptScripts
public boolean getEncryptScripts() -
getAbortOnAnyFailure
public boolean getAbortOnAnyFailure() -
getExportAllLibraries
public boolean getExportAllLibraries() -
getPurpose
-
getLanguages
-
addException
-
getExceptions
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-