//# 0 errors, 78 messages
//#
/*
    //#UpdateChannel.java:1:1: class: com.dmdirc.updater.UpdateChannel
 * Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.dmdirc.updater;

/**
 * Represents one update channel (e.g., stable, nightly, etc).
 * 
 * @author chris
 */
public enum UpdateChannel {
    //#UpdateChannel.java:30: method: UpdateChannel[] com.dmdirc.updater.UpdateChannel.values()
    //#input(UpdateChannel[] values()): $VALUES
    //#input(UpdateChannel[] values()): $VALUES.length
    //#input(UpdateChannel[] values()): $VALUES[0..4]
    //#output(UpdateChannel[] values()): new UpdateChannel[](values#1) num objects
    //#output(UpdateChannel[] values()): return_value.length
    //#output(UpdateChannel[] values()): return_value[0..4]
    //#output(UpdateChannel[] values()): return_value
    //#new obj(UpdateChannel[] values()): new UpdateChannel[](values#1)
    //#pre[1] (UpdateChannel[] values()): (soft) init'ed($VALUES[0..4])
    //#post(UpdateChannel[] values()): return_value == &new UpdateChannel[](values#1)
    //#post(UpdateChannel[] values()): new UpdateChannel[](values#1) num objects == 1
    //#post(UpdateChannel[] values()): return_value.length == 4
    //#post(UpdateChannel[] values()): return_value[0..4] == One-of{$VALUES[0..4], undefined}
    //#UpdateChannel.java:30: end of method: UpdateChannel[] com.dmdirc.updater.UpdateChannel.values()
    //#UpdateChannel.java:30: method: UpdateChannel com.dmdirc.updater.UpdateChannel.valueOf(String)
    //#input(UpdateChannel valueOf(String)): __Descendant_Table[com/dmdirc/updater/UpdateChannel]
    //#input(UpdateChannel valueOf(String)): __Descendant_Table[others]
    //#input(UpdateChannel valueOf(String)): name
    //#output(UpdateChannel valueOf(String)): return_value
    //#presumption(UpdateChannel valueOf(String)): java.lang.Enum:valueOf(...).__Tag@30 == com/dmdirc/updater/UpdateChannel
    //#post(UpdateChannel valueOf(String)): init'ed(return_value)
    //#UpdateChannel.java:30: end of method: UpdateChannel com.dmdirc.updater.UpdateChannel.valueOf(String)
    //#UpdateChannel.java:30: method: void com.dmdirc.updater.UpdateChannel.com.dmdirc.updater.UpdateChannel(String, int)
    //#input(void com.dmdirc.updater.UpdateChannel(String, int)): Param_1
    //#input(void com.dmdirc.updater.UpdateChannel(String, int)): Param_2
    //#input(void com.dmdirc.updater.UpdateChannel(String, int)): this
    //#UpdateChannel.java:30: end of method: void com.dmdirc.updater.UpdateChannel.com.dmdirc.updater.UpdateChannel(String, int)

    /** Stable update channel. */
    STABLE, 
    //#UpdateChannel.java:33: method: com.dmdirc.updater.UpdateChannel.com.dmdirc.updater.UpdateChannel__static_init
    //#output(com.dmdirc.updater.UpdateChannel__static_init): $VALUES
    //#output(com.dmdirc.updater.UpdateChannel__static_init): NIGHTLY
    //#output(com.dmdirc.updater.UpdateChannel__static_init): NONE
    //#output(com.dmdirc.updater.UpdateChannel__static_init): STABLE
    //#output(com.dmdirc.updater.UpdateChannel__static_init): UNSTABLE
    //#output(com.dmdirc.updater.UpdateChannel__static_init): __Descendant_Table[com/dmdirc/updater/UpdateChannel]
    //#output(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#1) num objects
    //#output(com.dmdirc.updater.UpdateChannel__static_init): STABLE.__Tag
    //#output(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#2) num objects
    //#output(com.dmdirc.updater.UpdateChannel__static_init): UNSTABLE.__Tag
    //#output(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#3) num objects
    //#output(com.dmdirc.updater.UpdateChannel__static_init): NIGHTLY.__Tag
    //#output(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#4) num objects
    //#output(com.dmdirc.updater.UpdateChannel__static_init): NONE.__Tag
    //#output(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel[](UpdateChannel__static_init#5) num objects
    //#output(com.dmdirc.updater.UpdateChannel__static_init): $VALUES.length
    //#output(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[0]
    //#output(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[1]
    //#output(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[2]
    //#output(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[3]
    //#new obj(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#1)
    //#new obj(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#2)
    //#new obj(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#3)
    //#new obj(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#4)
    //#new obj(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel[](UpdateChannel__static_init#5)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): $VALUES == &new UpdateChannel[](UpdateChannel__static_init#5)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): NIGHTLY == &new UpdateChannel(UpdateChannel__static_init#3)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[2] == &new UpdateChannel(UpdateChannel__static_init#3)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): NONE == &new UpdateChannel(UpdateChannel__static_init#4)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[3] == &new UpdateChannel(UpdateChannel__static_init#4)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): STABLE == &new UpdateChannel(UpdateChannel__static_init#1)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[0] == &new UpdateChannel(UpdateChannel__static_init#1)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): UNSTABLE == &new UpdateChannel(UpdateChannel__static_init#2)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): $VALUES[1] == &new UpdateChannel(UpdateChannel__static_init#2)
    //#post(com.dmdirc.updater.UpdateChannel__static_init): __Descendant_Table[com/dmdirc/updater/UpdateChannel] == &__Dispatch_Table
    //#post(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#1) num objects == 1
    //#post(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#2) num objects == 1
    //#post(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#3) num objects == 1
    //#post(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel(UpdateChannel__static_init#4) num objects == 1
    //#post(com.dmdirc.updater.UpdateChannel__static_init): new UpdateChannel[](UpdateChannel__static_init#5) num objects == 1
    //#post(com.dmdirc.updater.UpdateChannel__static_init): STABLE.__Tag == com/dmdirc/updater/UpdateChannel
    //#post(com.dmdirc.updater.UpdateChannel__static_init): UNSTABLE.__Tag == com/dmdirc/updater/UpdateChannel
    //#post(com.dmdirc.updater.UpdateChannel__static_init): NIGHTLY.__Tag == com/dmdirc/updater/UpdateChannel
    //#post(com.dmdirc.updater.UpdateChannel__static_init): NONE.__Tag == com/dmdirc/updater/UpdateChannel
    //#post(com.dmdirc.updater.UpdateChannel__static_init): $VALUES.length == 4
    //#unanalyzed(com.dmdirc.updater.UpdateChannel__static_init): Effects-of-calling:java.lang.Enum
    /** Unstable update channel. */
    UNSTABLE,
    /** Nightly update chanel. */
    NIGHTLY, 
    /** Not an official release (e.g. SVN). */
    NONE;
    //#UpdateChannel.java:39: end of method: com.dmdirc.updater.UpdateChannel.com.dmdirc.updater.UpdateChannel__static_init

}
    //#UpdateChannel.java:: end of class: com.dmdirc.updater.UpdateChannel
