fr.paris.lutece.plugins.fdw.modules.wizard.service
Class ServiceWithPriority

java.lang.Object
  extended by fr.paris.lutece.plugins.fdw.modules.wizard.service.ServiceWithPriority
All Implemented Interfaces:
Comparable<ServiceWithPriority>
Direct Known Subclasses:
DuplicationService

public abstract class ServiceWithPriority
extends Object
implements Comparable<ServiceWithPriority>

Class for creating services with priority in order to execute these services in a specific order


Constructor Summary
ServiceWithPriority()
           
 
Method Summary
 int compareTo(ServiceWithPriority o)
           
 int getPriority()
           
 void setPriority(int nPriority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceWithPriority

public ServiceWithPriority()
Method Detail

getPriority

public int getPriority()
Returns:
the priority

setPriority

public void setPriority(int nPriority)
Parameters:
nPriority - the priority to set

compareTo

public int compareTo(ServiceWithPriority o)
Specified by:
compareTo in interface Comparable<ServiceWithPriority>


Copyright © 2013 Mairie de Paris. All Rights Reserved.