Enum SvnSchedule

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SvnSchedule>

    public enum SvnSchedule
    extends java.lang.Enum<SvnSchedule>
    Describe the kind of schedule. This can be:
    • NORMAL - item is not scheduled
    • ADD - item is scheduled for add
    • DELETE - item is scheduled for delete
    • REPLACE - item is scheduled for replace
    Version:
    1.7
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SvnSchedule()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String asString()
      Returns String representation of schedule, empty string if item is not scheduled, schedule name otherwise.
      static SvnSchedule fromString​(java.lang.String str)
      Creates SvnSchedule from String representation.
      static SvnSchedule valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SvnSchedule[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SvnSchedule

        private SvnSchedule()
    • Method Detail

      • values

        public static SvnSchedule[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SvnSchedule c : SvnSchedule.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SvnSchedule valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • asString

        public java.lang.String asString()
        Returns String representation of schedule, empty string if item is not scheduled, schedule name otherwise.
        Returns:
        schedule as String
      • fromString

        public static SvnSchedule fromString​(java.lang.String str)
        Creates SvnSchedule from String representation.
        Parameters:
        str - schedule String representation
        Returns:
        SvnSchedule object