com.atlassian.bamboo.utils
Class DeepCopier
java.lang.Object
com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister
com.atlassian.bamboo.utils.DeepCopier
public class DeepCopier
- extends AbstractXStreamPersister
This class uses XStream to deep copy an object.
Method Summary |
Object |
copy(Object originalObject)
Create a new instance of the the originalObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeepCopier
public DeepCopier()
copy
public Object copy(Object originalObject)
- Create a new instance of the the originalObject
- Parameters:
originalObject
-
- Returns:
- A new instance that is identical to the original
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.