Class ProjectInfo


  • public class ProjectInfo
    extends java.lang.Object
    Represents information about a project within an Ant build file. Clients may not instantiate or subclass this class.
    Since:
    2.1
    Restriction:
    This class is not intended to be subclassed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProjectInfo​(java.lang.String name, java.lang.String description)
      Create a project information
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the project description or null if no description is provided.
      java.lang.String getName()
      Returns the project name.
      • Methods inherited from class java.lang.Object

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

      • ProjectInfo

        public ProjectInfo​(java.lang.String name,
                           java.lang.String description)
        Create a project information
        Parameters:
        name - project name
        description - a brief explanation of the project's purpose or null if not specified
        Since:
        3.3
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the project name.
        Returns:
        the project name
      • getDescription

        public java.lang.String getDescription()
        Returns the project description or null if no description is provided.
        Returns:
        the project description or null if none