jd.setAuto((persist.getAuto()!=null &&persist.getAuto()==1)?true:false);
jd.setCronExpression(persist.getCronExpression());
if(persist.getConfigs()!=null){
JSONObject object=JSONObject.fromObject(persist.getConfigs());
jd.setProperties(new HashMap<String, String>());
for(Object key:object.keySet()){
jd.getProperties().put(key.toString(), object.getString(key.toString()));
}
}
if(persist.getDependencies()!=null){
jd.setDependencies(Arrays.asList(persist.getDependencies().split(",")));