com.liferay.portal.upgrade.util
Class MemoryValueMapper
java.lang.Object
com.liferay.portal.upgrade.util.MemoryValueMapper
- All Implemented Interfaces:
- ValueMapper
public class MemoryValueMapper
- extends java.lang.Object
- implements ValueMapper
View Source
- Author:
- Alexander Chow, Brian Wing Shun Chan
Method Summary |
void |
appendException(java.lang.Object exception)
|
java.util.Map<java.lang.Object,java.lang.Object> |
getMap()
|
java.lang.Object |
getNewValue(java.lang.Object oldValue)
|
java.util.Iterator<java.lang.Object> |
iterator()
|
void |
mapValue(java.lang.Object oldValue,
java.lang.Object newValue)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryValueMapper
public MemoryValueMapper()
MemoryValueMapper
public MemoryValueMapper(java.util.Set<java.lang.Object> exceptions)
getNewValue
public java.lang.Object getNewValue(java.lang.Object oldValue)
throws java.lang.Exception
- Specified by:
getNewValue
in interface ValueMapper
- Throws:
java.lang.Exception
mapValue
public void mapValue(java.lang.Object oldValue,
java.lang.Object newValue)
throws java.lang.Exception
- Specified by:
mapValue
in interface ValueMapper
- Throws:
java.lang.Exception
appendException
public void appendException(java.lang.Object exception)
- Specified by:
appendException
in interface ValueMapper
iterator
public java.util.Iterator<java.lang.Object> iterator()
throws java.lang.Exception
- Specified by:
iterator
in interface ValueMapper
- Throws:
java.lang.Exception
size
public int size()
throws java.lang.Exception
- Specified by:
size
in interface ValueMapper
- Throws:
java.lang.Exception
getMap
public java.util.Map<java.lang.Object,java.lang.Object> getMap()