org.mbari.siam.operations.utils
Class BINBackups

java.lang.Object
  extended by org.mbari.siam.operations.utils.NodeUtility
      extended by org.mbari.siam.operations.utils.BINBackups

public class BINBackups
extends NodeUtility

Disable power system battery backups and/or hold-up capacitors on the Benthic Instrument Nodes (BINs)

Author:
Kent Headley, Mike Risi

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.operations.utils.NodeUtility
NodeUtility.InvalidOption
 
Field Summary
 
Fields inherited from class org.mbari.siam.operations.utils.NodeUtility
_log4j, _node, _nodeHost, _nodeURL
 
Constructor Summary
BINBackups()
           
 
Method Summary
 void exitError(java.lang.String msg, int errorCode)
           
static void main(java.lang.String[] args)
           
 void printUsage()
          Print application-specific usage message to stdout.
 void processCustomOption(java.lang.String[] args, int index)
          Process custom options for this application.
 void processNode(Node node)
          Do application-specific processing of node.
 void showConfig()
           
 boolean validateArg(java.lang.String arg)
           
 boolean validatePort(java.lang.String port)
           
 
Methods inherited from class org.mbari.siam.operations.utils.NodeUtility
getHostName, getNodeURL, processArguments, processArguments, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BINBackups

public BINBackups()
Method Detail

showConfig

public void showConfig()

exitError

public void exitError(java.lang.String msg,
                      int errorCode)

printUsage

public void printUsage()
Description copied from class: NodeUtility
Print application-specific usage message to stdout.

Specified by:
printUsage in class NodeUtility

validateArg

public boolean validateArg(java.lang.String arg)

validatePort

public boolean validatePort(java.lang.String port)

processNode

public void processNode(Node node)
                 throws java.lang.Exception
Do application-specific processing of node.

Specified by:
processNode in class NodeUtility
Throws:
java.lang.Exception

processCustomOption

public void processCustomOption(java.lang.String[] args,
                                int index)
                         throws NodeUtility.InvalidOption
Process custom options for this application.

Overrides:
processCustomOption in class NodeUtility
Throws:
NodeUtility.InvalidOption

main

public static void main(java.lang.String[] args)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.