Class YShrinkModelImpl

  • All Implemented Interfaces:
    YShrinkModel

    public class YShrinkModelImpl
    extends java.lang.Object
    implements YShrinkModel
    The type Y shrink model.
    • Constructor Summary

      Constructors 
      Constructor Description
      YShrinkModelImpl()
      Instantiates a new Y shrink model.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createSimpleModel​(java.util.List<ShrinkBag> bags)
      Create simple model.
      java.util.Set<java.lang.String> getAllAncestorClasses​(java.lang.String className)
      Gets all ancestor classes.
      java.util.Collection<java.lang.String> getAllClassNames()
      Gets all class names.
      java.util.Set<java.lang.String> getAllImplementedInterfaces​(java.lang.String className)
      Gets all implemented interfaces.
      void setResourceClassPath​(org.apache.tools.ant.types.Path resourceClassPath, org.apache.tools.ant.Task target)
      Sets resource class path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • YShrinkModelImpl

        public YShrinkModelImpl()
        Instantiates a new Y shrink model.
    • Method Detail

      • createSimpleModel

        public void createSimpleModel​(java.util.List<ShrinkBag> bags)
                               throws java.io.IOException
        Description copied from interface: YShrinkModel
        Create simple model.
        Specified by:
        createSimpleModel in interface YShrinkModel
        Parameters:
        bags - the bags
        Throws:
        java.io.IOException - the io exception
      • getAllAncestorClasses

        public java.util.Set<java.lang.String> getAllAncestorClasses​(java.lang.String className)
        Description copied from interface: YShrinkModel
        Gets all ancestor classes.
        Specified by:
        getAllAncestorClasses in interface YShrinkModel
        Parameters:
        className - the class name
        Returns:
        the all ancestor classes
      • getAllImplementedInterfaces

        public java.util.Set<java.lang.String> getAllImplementedInterfaces​(java.lang.String className)
        Description copied from interface: YShrinkModel
        Gets all implemented interfaces.
        Specified by:
        getAllImplementedInterfaces in interface YShrinkModel
        Parameters:
        className - the class name
        Returns:
        the all implemented interfaces
      • getAllClassNames

        public java.util.Collection<java.lang.String> getAllClassNames()
        Description copied from interface: YShrinkModel
        Gets all class names.
        Specified by:
        getAllClassNames in interface YShrinkModel
        Returns:
        the all class names
      • setResourceClassPath

        public void setResourceClassPath​(org.apache.tools.ant.types.Path resourceClassPath,
                                         org.apache.tools.ant.Task target)
        Description copied from interface: YShrinkModel
        Sets resource class path.
        Specified by:
        setResourceClassPath in interface YShrinkModel
        Parameters:
        resourceClassPath - the resource class path
        target - the target