generated.docs.javadoc.org.eclipse.dawnsci.nexus.builder.appdef.impl.AbstractNexusApplicationBuilder.html Maven / Gradle / Ivy
AbstractNexusApplicationBuilder (h5jan API)
org.eclipse.dawnsci.nexus.builder.appdef.impl
Class AbstractNexusApplicationBuilder
- java.lang.Object
-
- org.eclipse.dawnsci.nexus.builder.appdef.impl.AbstractNexusApplicationBuilder
-
- All Implemented Interfaces:
- NexusApplicationBuilder
- Direct Known Subclasses:
- TomoApplicationBuilder
public abstract class AbstractNexusApplicationBuilder
extends java.lang.Object
implements NexusApplicationBuilder
Abstract superclass of NeXus application builders.
-
-
Field Summary
Fields
Modifier and Type
Field and Description
protected NexusEntryBuilder
nexusEntryModel
protected NXsubentry
subentry
-
Constructor Summary
Constructors
Constructor and Description
AbstractNexusApplicationBuilder(NexusApplicationDefinition appDef,
NexusEntryBuilder nexusEntryModel,
NXsubentry subentry)
Creates a new nexus application definition.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
protected java.lang.String
getApplicationDefinitionName(NexusApplicationDefinition applicationDefinition)
Returns the application definition name
DataNode
getDataNode(java.lang.String relativePath)
Returns the data node with the given path relative to the NXsubentry
for
this application definition.
NXsubentry
getNXsubentry()
Returns the wrapped NXsubentry
.
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.dawnsci.nexus.builder.appdef.NexusApplicationBuilder
add, addDefaultGroups, newData, validate
-
-
Field Detail
-
nexusEntryModel
protected final NexusEntryBuilder nexusEntryModel
-
subentry
protected final NXsubentry subentry
-
Constructor Detail
-
AbstractNexusApplicationBuilder
public AbstractNexusApplicationBuilder(NexusApplicationDefinition appDef,
NexusEntryBuilder nexusEntryModel,
NXsubentry subentry)
Creates a new nexus application definition.
- Parameters:
appDef
-
nexusEntryModel
-
subentry
-
-
Method Detail
-
getApplicationDefinitionName
protected java.lang.String getApplicationDefinitionName(NexusApplicationDefinition applicationDefinition)
Returns the application definition name
- Parameters:
applicationDefinition
-
- Returns:
-
getNXsubentry
public NXsubentry getNXsubentry()
Description copied from interface: NexusApplicationBuilder
Returns the wrapped NXsubentry
. This can be used to make custom modifications.
- Specified by:
getNXsubentry
in interface NexusApplicationBuilder
- Returns:
- the wrapped
NXsubentry
-
getDataNode
public DataNode getDataNode(java.lang.String relativePath)
throws NexusException
Description copied from interface: NexusApplicationBuilder
Returns the data node with the given path relative to the NXsubentry
for
this application definition.
- Specified by:
getDataNode
in interface NexusApplicationBuilder
- Returns:
- data node
- Throws:
NexusException