/**
 * SAHARA Rig Client
 * 
 * Software abstraction of physical rig to provide rig session control
 * and rig device control. Automatically tests rig hardware and reports
 * the rig status to ensure rig goodness.
 *
 * @license See LICENSE in the top level directory for complete license terms.
 *
 * Copyright (c) 2010, University of Technology, Sydney
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without 
 * modification, are permitted provided that the following conditions are met:
 *
 *  * Redistributions of source code must retain the above copyright notice, 
 *    this list of conditions and the following disclaimer.
 *  * Redistributions in binary form must reproduce the above copyright 
 *    notice, this list of conditions and the following disclaimer in the 
 *    documentation and/or other materials provided with the distribution.
 *  * Neither the name of the University of Technology, Sydney nor the names 
 *    of its contributors may be used to endorse or promote products derived from 
 *    this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * @author <First> <Last> (mdiponio)
 * @date <Day> <Month> 2010
 *
 * Changelog:
 * - 05/10/2010 - mdiponio - Initial file creation.
 */
package au.edu.uts.eng.remotelabs.rigclient.action.access;

import au.edu.uts.eng.remotelabs.rigclient.rig.IAccessAction;

/**
 * 
 */
public class FailAccessAction implements IAccessAction
{

    /* 
     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAction#getActionType()
     */
    @Override
    public String getActionType()
    {
        return "Fail action type.";
    }

    /* 
     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAction#getFailureReason()
     */
    @Override
    public String getFailureReason()
    {
        // TODO Auto-generated method stub
        return null;
    }

    /* 
     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAccessAction#assign(java.lang.String)
     */
    @Override
    public boolean assign(String name)
    {
        // TODO Auto-generated method stub
        return false;
    }

    /* 
     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAccessAction#revoke(java.lang.String)
     */
    @Override
    public boolean revoke(String name)
    {
        // TODO Auto-generated method stub
        return false;
    }

}

@@ -1930,22 +1930,23 @@
 hor 
-%3CFirst%3E %3CLast%3E
+Michael Diponio
  (md
@@ -1966,95 +1966,25 @@
 ate 
-%3CDay%3E %3CMonth%3E 2010%0A *%0A * Changelog:%0A * - 05/10/2010 - mdiponio - Initial file creation.
+13th October 2010
 %0A */
@@ -2118,162 +2118,150 @@
 %0A * 
-%0A */%0Apublic class FailAccessAction implements IAccessAction%0A%7B%0A%0A    /* %0A     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAction#getActionType()%0A     */
+Access action whose methods always return %3Ctt%3Efalse%3C/tt%3E (i.e., always%0A * fail). %0A */%0Apublic class FailAccessAction implements IAccessAction%0A%7B
 %0A   
@@ -2296,18 +2296,21 @@
  get
-ActionType
+FailureReason
 ()%0A 
@@ -2334,129 +2334,33 @@
 rn %22
-Fail action type.%22;%0A    %7D%0A%0A    /* %0A     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAction#getFailureReason()
+Only ever fails.%22;
 %0A    
- */
+%7D%0A
 %0A   
@@ -2385,82 +2385,41 @@
 lic 
-String getFailureReason()%0A    %7B%0A        // TODO Auto-generated method stub
+boolean assign(String name)%0A    %7B
 %0A   
@@ -2434,12 +2434,13 @@
 urn 
-null
+false
 ;%0A  
@@ -2448,115 +2448,8 @@
  %7D%0A%0A
-    /* %0A     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAccessAction#assign(java.lang.String)%0A     */%0A
     
@@ -2469,38 +2469,38 @@
  public boolean 
-assign
+revoke
 (String name)%0A  
@@ -2515,308 +2515,124 @@
     
-// TODO Auto-generated method stub%0A        return false;%0A    %7D%0A%0A    /* %0A     * @see au.edu.uts.eng.remotelabs.rigclient.rig.IAccessAction#revoke(java.lang.String)%0A     */%0A    @Override%0A    public boolean revoke(String name)%0A    %7B%0A        // TODO Auto-generated method stub%0A        return false
+return false;%0A    %7D%0A%0A    @Override%0A    public String getActionType()%0A    %7B%0A        return %22Fail action type.%22
 ;%0A    %7D%0A
 %0A%7D%0A
@@ -2628,11 +2628,10 @@
 ;%0A    %7D%0A
-%0A
 %7D%0A

Cleaned up some todos.