org.eclipse.xpand2.output
Class NoChangesVetoStrategy

java.lang.Object
  extended by org.eclipse.xpand2.output.NoChangesVetoStrategy
All Implemented Interfaces:
VetoStrategy

public class NoChangesVetoStrategy
extends java.lang.Object
implements VetoStrategy


Constructor Summary
NoChangesVetoStrategy()
           
 
Method Summary
 byte[] getBytes(FileHandle h)
           
 boolean hasChanges(FileHandle h)
           
 boolean hasVeto(FileHandle handle)
          Called before the file will be written and after beforeWriteAndClose() has been invoked on all post processors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoChangesVetoStrategy

public NoChangesVetoStrategy()
Method Detail

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 2007 committers of openArchitectureWare and others.
All Rights Reserved.