Class MSProjectNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.msoffice.MSProjectNode
-
public class MSProjectNode extends Node
ThisNode
uses Microsoft Project to convert an MS Project developing plan with native file export (only MS Office 2010/2013). Different export types can be selected by the enumerationMSProjectNode.View
.Caveat: As MS Project does neither support multiple instances nor multiple documents within a single instance, concurrent accesses to this node are not performed in parallel on a single server instance.
- Since:
- jadice server 4.3.1.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MSProjectNode.View
The different views that can be exported from MS Project.-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description MSProjectNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTargetMimeType()
List<MSProjectNode.View>
getViewsToExport()
String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.void
setTargetMimeType(String targetMimeType)
Set the MIME type of the desired export format (supported:application/pdf
(default) andapplication/vnd.ms-xpsdocument
)void
setViewsToExport(List<MSProjectNode.View> viewsToExport)
Set the type ofMSProjectNode.View
s to export.protected void
validateConfiguration()
-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
setTargetMimeType
public void setTargetMimeType(String targetMimeType)
Set the MIME type of the desired export format (supported:application/pdf
(default) andapplication/vnd.ms-xpsdocument
)- Parameters:
targetMimeType
- the MIME type to export
-
getTargetMimeType
public String getTargetMimeType()
- Returns:
- The MIME type of the desired export format.
-
setViewsToExport
public void setViewsToExport(List<MSProjectNode.View> viewsToExport)
Set the type ofMSProjectNode.View
s to export.- Parameters:
viewsToExport
-MSProjectNode.View
s to export
-
getViewsToExport
public List<MSProjectNode.View> getViewsToExport()
- Returns:
- The
MSProjectNode.View
s to export
-
validateConfiguration
protected void validateConfiguration() throws ConfigurationException
- Overrides:
validateConfiguration
in classNode
- Throws:
ConfigurationException
-
-