@Test public void testIsSupportedField() { assertTrue(module.isSupportedField(new JavaField())); assertTrue(module.isSupportedField(new JavaEnumField())); assertFalse(module.isSupportedField(new PropertyField())); assertFalse(module.isSupportedField(new ConstantField())); assertTrue(module.isSupportedField(new SimpleField())); }
@Override public Boolean isSupportedField(Field field) { if (super.isSupportedField(field)) { return true; } return field instanceof JavaField || field instanceof JavaEnumField; }
JavaModule extends BaseAtlasModule { @Override public Boolean isSupportedField(Field field) { if (super.isSupportedField(field)) { return true; } return field instanceof JavaField || field instanceof JavaEnumField; } }
JavaModule extends BaseAtlasModule { @Override public Boolean isSupportedField(Field field) { if (super.isSupportedField(field)) { return true; } return field instanceof JavaField || field instanceof JavaEnumField; } JavaModule(); }
JavaModule extends BaseAtlasModule { @Override public Boolean isSupportedField(Field field) { if (super.isSupportedField(field)) { return true; } return field instanceof JavaField || field instanceof JavaEnumField; } JavaModule(); @Override void init(); @Override void destroy(); @Override void processPreValidation(AtlasInternalSession atlasSession); @Override void processPreSourceExecution(AtlasInternalSession atlasSession); @Override void processPreTargetExecution(AtlasInternalSession atlasSession); @Override void readSourceValue(AtlasInternalSession session); @Override void populateTargetField(AtlasInternalSession session); @Override void writeTargetValue(AtlasInternalSession session); @Override void processPostSourceExecution(AtlasInternalSession session); @Override void processPostTargetExecution(AtlasInternalSession session); @Override Boolean isSupportedField(Field field); @Override Field cloneField(Field field); }
JavaModule extends BaseAtlasModule { @Override public Boolean isSupportedField(Field field) { if (super.isSupportedField(field)) { return true; } return field instanceof JavaField || field instanceof JavaEnumField; } JavaModule(); @Override void init(); @Override void destroy(); @Override void processPreValidation(AtlasInternalSession atlasSession); @Override void processPreSourceExecution(AtlasInternalSession atlasSession); @Override void processPreTargetExecution(AtlasInternalSession atlasSession); @Override void readSourceValue(AtlasInternalSession session); @Override void populateTargetField(AtlasInternalSession session); @Override void writeTargetValue(AtlasInternalSession session); @Override void processPostSourceExecution(AtlasInternalSession session); @Override void processPostTargetExecution(AtlasInternalSession session); @Override Boolean isSupportedField(Field field); @Override Field cloneField(Field field); static final String DEFAULT_LIST_CLASS; }