bug TDI-23037 fixed : HDFS_fail to update repository for HDFS connection .

git-svn-id: http://talendforge.org/svn/tos/trunk@91975 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
hcyi
2012-10-11 10:02:31 +00:00
parent fc1b7fa0a4
commit fe39c8b0b3
4 changed files with 38 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ public class PluginChecker {
private static final String TRACEDEBUG_PLUGIN_ID = "org.talend.designer.runprocess.debug"; //$NON-NLS-1$
private static final String HDFS_PLUGIN_ID = "org.talend.repository.hdfs"; //$NON-NLS-1$
/**
* Check if specific plug-in is loaded.
*
@@ -235,4 +237,8 @@ public class PluginChecker {
public static boolean isDatacertPluginLoaded() {
return isPluginLoaded(DATACERT_PLUGIN_ID);
}
public static boolean isHDFSPluginLoaded() {
return isPluginLoaded(HDFS_PLUGIN_ID);
}
}

View File

@@ -386,6 +386,9 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
public final static ERepositoryObjectType SYSTEM_INDICATORS_FRAUDDETECTION = new ERepositoryObjectType(
"repository.systemIndicators.fraudDetection", "TDQ_Libraries/Indicators/System Indicators/Fraud Detection", "SYSTEM_INDICATORS_FRAUDDETECTION", 103, true, "repository.systemIndicators.fraudDetectionStatistics.alias", new String[] { "DQ" }, new String[] {}, false); //$NON-NLS-1$ //$NON-NLS-2$
public final static ERepositoryObjectType METADATA_HDFS = new ERepositoryObjectType(
"HDFS", "metadata/hdfs", "HDFS", 104, false, "HDFS", new String[] { "DI" }, new String[] {}); //$NON-NLS-1$ //$NON-NLS-2$
private String alias;
private String folder = "";