
com.adobe.forms.foundation.migration.spi.MigrationTask Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2016 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.adobe.forms.foundation.migration.spi;
import com.adobe.forms.foundation.migration.api.TaskContext;
/**
* base class for every migration task
*/
public abstract class MigrationTask {
public static final int DEFAULT_630_RANK = 630000;
public static final int DEFAULT_640_RANK = 640000;
public static final int DEFAULT_650_RANK = 650000;
public static final String SELECTORS = "selectors";
public static final String ROOT_TASK_ID = "root";
/**
* Id to identify a task
* @return
*/
public String getTaskId(){
return "";
}
/**
*
* @return
*/
public String getParentId(){
return ROOT_TASK_ID;
}
/**
* perform migration
* @param mc
*/
public abstract void startTask(final TaskContext mc);
/**
* perform migration
* @param mc
*/
public void endTask(final TaskContext mc){
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy