org.jboss.dna.graph.sequencers
Interface SequencerContext

All Superinterfaces:
ClassLoaderFactory, ExecutionContext
All Known Implementing Classes:
SequencerNodeContext

public interface SequencerContext
extends ExecutionContext

Author:
John Verhaeg

Method Summary
 Path getInputPath()
          Return the path of the input node containing the content being sequenced.
 Set<Property> getInputProperties()
          Return the set of properties from the input node containing the content being sequenced.
 Property getInputProperty(Name name)
          Return the property with the supplied name from the input node containing the content being sequenced.
 String getMimeType()
          Return the MIME-type of the content being sequenced.
 Problems getProblems()
          Get an interface that can be used to record various problems, warnings, and errors that are not extreme enough to warrant throwing exceptions.
 
Methods inherited from interface org.jboss.dna.graph.ExecutionContext
getAccessControlContext, getLogger, getLogger, getLoginContext, getNamespaceRegistry, getPropertyFactory, getSubject, getValueFactories
 
Methods inherited from interface org.jboss.dna.common.component.ClassLoaderFactory
getClassLoader
 

Method Detail

getInputPath

Path getInputPath()
Return the path of the input node containing the content being sequenced.

Returns:
input node's path.

getInputProperties

Set<Property> getInputProperties()
Return the set of properties from the input node containing the content being sequenced.

Returns:
the input node's properties; never null.

getInputProperty

Property getInputProperty(Name name)
Return the property with the supplied name from the input node containing the content being sequenced.

Parameters:
name -
Returns:
the input node property, or null if none exists.

getMimeType

String getMimeType()
Return the MIME-type of the content being sequenced.

Returns:
the MIME-type

getProblems

Problems getProblems()
Get an interface that can be used to record various problems, warnings, and errors that are not extreme enough to warrant throwing exceptions.

Returns:
the interface for recording problems; never null


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.