forked from Coded/SIPRP
git-svn-id: https://svn.coded.pt/svn/SIPRP@1831 bb69d46d-e84e-40c8-a05a-06db0d633741
parent
32f589a678
commit
850207739b
@ -0,0 +1,46 @@
|
||||
package updates;
|
||||
|
||||
import com.evolute.module.updater.AbstractUpdate;
|
||||
import com.evolute.module.updater.UpdaterListProvider;
|
||||
import updates.updates.Update1;
|
||||
import updates.updates.Update2;
|
||||
import updates.updates.FixPlanoImportedUnicode;
|
||||
|
||||
/**
|
||||
* User: dneves
|
||||
* Date: 8/29/11 12:45 PM
|
||||
*/
|
||||
public class PAUpdatesListProvider extends UpdaterListProvider
|
||||
{
|
||||
|
||||
private static final AbstractUpdate[] UPDATES_LIST = new AbstractUpdate[] {
|
||||
new Update1( 0, 1 ), // support for valor qualitativo (@ riscos)
|
||||
new Update2( 1, 2 ), // update valor qualitativo
|
||||
new FixPlanoImportedUnicode( 2, 3, new Integer( 81 ) ), // corrigir enconde planos importados
|
||||
new FixPlanoImportedUnicode( 3, 4, new Integer( 84 ) ), // corrigir enconde planos importados
|
||||
};
|
||||
|
||||
|
||||
private static PAUpdatesListProvider INSTANCE = null;
|
||||
|
||||
private PAUpdatesListProvider()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static synchronized PAUpdatesListProvider getInstance()
|
||||
{
|
||||
if ( INSTANCE == null )
|
||||
{
|
||||
INSTANCE = new PAUpdatesListProvider();
|
||||
}
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setupUpdates()
|
||||
{
|
||||
addUpdates( UPDATES_LIST );
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
||||
Loading…
Reference in new issue