/** * Create a new CESComponentDescription. */ public CMSComponentDescription(IComponentIdentifier cid, String type, Boolean master, Boolean daemon, Boolean autoshutdown, PublishEventLevel monitoring, Boolean synchronous, String modelname, String localtype, IResourceIdentifier rid, long creationtime, IComponentIdentifier creator, Cause cause) { // if(cid.getName().indexOf("Dyn")!=-1) // System.out.println("created desc: "+cid+" "+hashCode()); setName(cid); setType(type); // setParent(parent); setState(IComponentDescription.STATE_ACTIVE); // setProcessingState(IComponentDescription.PROCESSINGSTATE_IDLE); setMaster(master); setDaemon(daemon); setAutoShutdown(autoshutdown); setMonitoring(monitoring!=null? monitoring: PublishEventLevel.OFF); setSynchronous(synchronous); setModelName(modelname); setLocalType(localtype); setResourceIdentifier(rid); setCreationTime(creationtime); setCreator(creator); setCause(cause); }
/** * Create a new CMSComponentDescription. */ public CMSComponentDescription(IComponentIdentifier cid, String type, boolean master, boolean daemon, boolean autoshutdown, boolean synchronous, boolean persistable, PublishEventLevel monitoring, String modelname, String localtype, IResourceIdentifier rid, long creationtime, IComponentIdentifier creator, Cause cause, boolean systemcomponent) { // if(cid.getName().indexOf("Dyn")!=-1) // System.out.println("created desc: "+cid+" "+hashCode()); setName(cid); setType(type); // setParent(parent); setState(IComponentDescription.STATE_ACTIVE); // setProcessingState(IComponentDescription.PROCESSINGSTATE_IDLE); setMaster(master); setDaemon(daemon); setAutoShutdown(autoshutdown); setSynchronous(synchronous); setPersistable(persistable); setMonitoring(monitoring!=null? monitoring: PublishEventLevel.OFF); setModelName(modelname); setLocalType(localtype); setResourceIdentifier(rid); setCreationTime(creationtime); setCreator(creator); setCause(cause); setSystemComponent(systemcomponent); }