Package com.yworks.yshrink
Class YShrinkInvokerImpl
- java.lang.Object
-
- com.yworks.yshrink.YShrinkInvokerImpl
-
- All Implemented Interfaces:
YShrinkInvoker
public class YShrinkInvokerImpl extends java.lang.Object implements YShrinkInvoker
The type Y shrink invoker.
-
-
Constructor Summary
Constructors Constructor Description YShrinkInvokerImpl()Instantiates a new Y shrink invoker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClassSection(ClassSection cs)Add class section.voidaddFieldSection(FieldSection fs)Add field section.voidaddMethodSection(MethodSection ms)Add method section.voidaddPair(ShrinkBag pair)Add pair.voidexecute()Execute.voidsetContext(org.apache.tools.ant.Task task)Sets context.voidsetEntyPoints(EntryPointsSection eps)Sets enty points.voidsetLogFile(java.io.File shrinkLog)Sets log file.voidsetResourceClassPath(org.apache.tools.ant.types.Path path)Sets resource class path.
-
-
-
Method Detail
-
setEntyPoints
public void setEntyPoints(EntryPointsSection eps)
Description copied from interface:YShrinkInvokerSets enty points.- Specified by:
setEntyPointsin interfaceYShrinkInvoker- Parameters:
eps- the eps
-
setLogFile
public void setLogFile(java.io.File shrinkLog)
Description copied from interface:YShrinkInvokerSets log file.- Specified by:
setLogFilein interfaceYShrinkInvoker- Parameters:
shrinkLog- the shrink log
-
setContext
public void setContext(org.apache.tools.ant.Task task)
Description copied from interface:YShrinkInvokerSets context.- Specified by:
setContextin interfaceYShrinkInvoker- Parameters:
task- the task
-
execute
public void execute()
Description copied from interface:YShrinkInvokerExecute.- Specified by:
executein interfaceYShrinkInvoker
-
addPair
public void addPair(ShrinkBag pair)
Description copied from interface:YShrinkInvokerAdd pair.- Specified by:
addPairin interfaceYShrinkInvoker- Parameters:
pair- the pair
-
setResourceClassPath
public void setResourceClassPath(org.apache.tools.ant.types.Path path)
Description copied from interface:YShrinkInvokerSets resource class path.- Specified by:
setResourceClassPathin interfaceYShrinkInvoker- Parameters:
path- the path
-
addClassSection
public void addClassSection(ClassSection cs)
Description copied from interface:YShrinkInvokerAdd class section.- Specified by:
addClassSectionin interfaceYShrinkInvoker- Parameters:
cs- the cs
-
addMethodSection
public void addMethodSection(MethodSection ms)
Description copied from interface:YShrinkInvokerAdd method section.- Specified by:
addMethodSectionin interfaceYShrinkInvoker- Parameters:
ms- the ms
-
addFieldSection
public void addFieldSection(FieldSection fs)
Description copied from interface:YShrinkInvokerAdd field section.- Specified by:
addFieldSectionin interfaceYShrinkInvoker- Parameters:
fs- the fs
-
-