Package org.openpnp.spi.base
Class AbstractPnpJobProcessor
- java.lang.Object
-
- org.openpnp.spi.base.AbstractJobProcessor
-
- org.openpnp.spi.base.AbstractPnpJobProcessor
-
- All Implemented Interfaces:
JobProcessor,PnpJobProcessor,PropertySheetHolder,WizardConfigurable
- Direct Known Subclasses:
ReferencePnpJobProcessor
public abstract class AbstractPnpJobProcessor extends AbstractJobProcessor implements PnpJobProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openpnp.spi.base.AbstractJobProcessor
AbstractJobProcessor.Retryable, AbstractJobProcessor.State
-
Nested classes/interfaces inherited from interface org.openpnp.spi.JobProcessor
JobProcessor.JobProcessorException, JobProcessor.TextStatusListener
-
Nested classes/interfaces inherited from interface org.openpnp.spi.PnpJobProcessor
PnpJobProcessor.JobPlacement
-
Nested classes/interfaces inherited from interface org.openpnp.spi.PropertySheetHolder
PropertySheetHolder.PropertySheet
-
-
Field Summary
-
Fields inherited from class org.openpnp.spi.base.AbstractJobProcessor
textStatusListeners
-
-
Constructor Summary
Constructors Constructor Description AbstractPnpJobProcessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddiscard(Nozzle nozzle)Discard the Part, if any, on the given Nozzle.static voiddiscardAll(Head head)static FeederfindFeeder(Machine machine, Part part, Feeder preference, Location datum)Find the first enabled Feeder is that is able to feed the given Part.-
Methods inherited from class org.openpnp.spi.base.AbstractJobProcessor
addTextStatusListener, fireJobState, fireTextStatus, getChildPropertySheetHolders, getConfigurationWizard, getPropertySheetHolderActions, getPropertySheetHolderIcon, getPropertySheetHolderTitle, getPropertySheets, removeTextStatusListener, retry
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openpnp.spi.JobProcessor
abort, addTextStatusListener, initialize, isSteppingToNextMotion, next, removeTextStatusListener
-
Methods inherited from interface org.openpnp.spi.PropertySheetHolder
getChildPropertySheetHolders, getPropertySheetHolderActions, getPropertySheetHolderIcon, getPropertySheetHolderTitle, getPropertySheets
-
Methods inherited from interface org.openpnp.spi.WizardConfigurable
getConfigurationWizard
-
-
-
-
Method Detail
-
discardAll
public static void discardAll(Head head) throws JobProcessor.JobProcessorException
-
discard
public static void discard(Nozzle nozzle) throws JobProcessor.JobProcessorException
Discard the Part, if any, on the given Nozzle.- Parameters:
nozzle-- Throws:
java.lang.ExceptionJobProcessor.JobProcessorException
-
findFeeder
public static Feeder findFeeder(Machine machine, Part part, Feeder preference, Location datum) throws JobProcessor.JobProcessorException
Find the first enabled Feeder is that is able to feed the given Part.- Parameters:
part-- Returns:
- Throws:
java.lang.Exception- If no Feeder is found that is both enabled and is serving the Part.JobProcessor.JobProcessorException
-
-