@Test public void testClone() throws Exception { BlockableJobConfig configOrig = new BlockableJobConfig(); configOrig.setJobEntryName( "Test" ); BlockableJobConfig configCloned = (BlockableJobConfig) configOrig.clone(); assertNotSame( configOrig, configCloned ); assertEquals( configOrig, configCloned ); configOrig.setJobEntryName( "New Name" ); assertFalse( configOrig.getJobEntryName().equals( configCloned.getJobEntryName() ) ); }
@Override public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { throw new RuntimeException( e ); } }
BlockableJobConfig implements XulEventSource, Cloneable { @Override public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { throw new RuntimeException( e ); } } }
BlockableJobConfig implements XulEventSource, Cloneable { @Override public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { throw new RuntimeException( e ); } }  }
BlockableJobConfig implements XulEventSource, Cloneable { @Override public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { throw new RuntimeException( e ); } }  String getJobEntryName(); void setJobEntryName( String jobEntryName ); String getBlockingPollingInterval(); void setBlockingPollingInterval( String blockingPollingInterval ); String getBlockingExecution(); void setBlockingExecution( String blockingExecution ); void addPropertyChangeListener( PropertyChangeListener l ); void addPropertyChangeListener( String propertyName, PropertyChangeListener l ); void removePropertyChangeListener( PropertyChangeListener l ); void removePropertyChangeListener( String propertyName, PropertyChangeListener l ); @Override Object clone(); @Override boolean equals( Object o ); @Override int hashCode(); }
BlockableJobConfig implements XulEventSource, Cloneable { @Override public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { throw new RuntimeException( e ); } }  String getJobEntryName(); void setJobEntryName( String jobEntryName ); String getBlockingPollingInterval(); void setBlockingPollingInterval( String blockingPollingInterval ); String getBlockingExecution(); void setBlockingExecution( String blockingExecution ); void addPropertyChangeListener( PropertyChangeListener l ); void addPropertyChangeListener( String propertyName, PropertyChangeListener l ); void removePropertyChangeListener( PropertyChangeListener l ); void removePropertyChangeListener( String propertyName, PropertyChangeListener l ); @Override Object clone(); @Override boolean equals( Object o ); @Override int hashCode(); static final String JOB_ENTRY_NAME; static final String BLOCKING_EXECUTION; static final String BLOCKING_POLLING_INTERVAL; }