org.eclipse.xpand2.output
Class NoChangesVetoStrategy
java.lang.Object
org.eclipse.xpand2.output.NoChangesVetoStrategy
- All Implemented Interfaces:
- VetoStrategy
public class NoChangesVetoStrategy
- extends Object
- implements VetoStrategy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoChangesVetoStrategy
public NoChangesVetoStrategy()
hasVeto
public boolean hasVeto(FileHandle handle)
- Description copied from interface:
VetoStrategy
- Called before the file will be written
and after beforeWriteAndClose() has been invoked on all post processors.
- Specified by:
hasVeto in interface VetoStrategy
- Returns:
- if hasVeto returns true the file will not be written
hasChanges
public boolean hasChanges(FileHandle h)
getBytes
public byte[] getBytes(FileHandle h)
Copyright © 2015. All rights reserved.