ch.claudio.tasks.model
Class TaskActions

java.lang.Object
  extended by ch.claudio.tasks.model.TaskActions

public final class TaskActions
extends java.lang.Object

Version:
$Id:$
Author:
Claudio Nieder

Copyright (C) 2007-2008 Claudio Nieder <private@claudio.ch>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Nested Class Summary
static class TaskActions.Password
          Structure which is returned by getpw functions.
 
Field Summary
static java.lang.String tempUserA
          User name for temporary user
 
Constructor Summary
TaskActions()
           
 
Method Summary
static void ameritradeBrowser()
          Start Ameritrade browser
static void claudioBrowser()
          Start Browser
static void claudioEclipse()
          Start eclipse
static void claudioGimp()
          Start gimp
static void claudioIM()
          Start gaim
static void claudioIRC()
          Start xchat
static void claudioMail()
          Start email program
static void claudioTerm()
          Start ternminal window
static void claudioUsenet()
          Start xchat
static void claudioVim()
          Start text editor
static void ethDhcp()
          Start interface eth0
static boolean hasChatUser()
          Look if the chat user is available.
static boolean hasMailUser()
          Look if the mail user is available.
static boolean hasPzUser()
          Look if the pz user is available.
static boolean hasWebUser()
          Look if the web user is available.
static void main(java.lang.String[] args)
          Print license.
static java.lang.String mainUser()
          Find the name of the user who runs this process.
static void pzBHB()
          Start BHB
static void pzEclipse()
          Start eclipse
static void pzTerm()
          Start terminal window
static void setAskPass(java.lang.Runnable askPassArg)
           
static void setKeyfilePass(java.lang.String keyfilePassArg)
           
static void startWlan()
          Start wireless interface eth1
static void swissquoteBrowser()
          Start Swissquote browser
static void synaptic()
          Start synaptic
static void tempBrowser()
          Start temp user Browser
static void tempKonsole()
          Start temp user kosnole
static void tempP2P()
          Start temp user Browser
static void yellownetBrowser()
          Start YellowNet browser
static void yellowtradeBrowser()
          Start YellowTrade browser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tempUserA

public static final java.lang.String tempUserA
User name for temporary user

See Also:
Constant Field Values
Constructor Detail

TaskActions

public TaskActions()
Method Detail

hasPzUser

public static boolean hasPzUser()
Look if the pz user is available.

Returns:
true if user exists.

hasChatUser

public static boolean hasChatUser()
Look if the chat user is available.

Returns:
true if user exists.

hasWebUser

public static boolean hasWebUser()
Look if the web user is available.

Returns:
true if user exists.

hasMailUser

public static boolean hasMailUser()
Look if the mail user is available.

Returns:
true if user exists.

mainUser

public static java.lang.String mainUser()
Find the name of the user who runs this process.

Returns:
user name.

setAskPass

public static void setAskPass(java.lang.Runnable askPassArg)
Parameters:
askPassArg - the askPass to set

setKeyfilePass

public static void setKeyfilePass(java.lang.String keyfilePassArg)
Parameters:
keyfilePassArg - the keyfilePass to set

startWlan

public static void startWlan()
Start wireless interface eth1


ethDhcp

public static void ethDhcp()
Start interface eth0


synaptic

public static void synaptic()
Start synaptic


ameritradeBrowser

public static void ameritradeBrowser()
Start Ameritrade browser


swissquoteBrowser

public static void swissquoteBrowser()
Start Swissquote browser


yellownetBrowser

public static void yellownetBrowser()
Start YellowNet browser


yellowtradeBrowser

public static void yellowtradeBrowser()
Start YellowTrade browser


tempBrowser

public static void tempBrowser()
Start temp user Browser


tempP2P

public static void tempP2P()
Start temp user Browser


tempKonsole

public static void tempKonsole()
Start temp user kosnole


claudioBrowser

public static void claudioBrowser()
Start Browser


claudioTerm

public static void claudioTerm()
Start ternminal window


claudioVim

public static void claudioVim()
Start text editor


pzBHB

public static void pzBHB()
Start BHB


pzEclipse

public static void pzEclipse()
Start eclipse


pzTerm

public static void pzTerm()
Start terminal window


claudioMail

public static void claudioMail()
Start email program


claudioEclipse

public static void claudioEclipse()
Start eclipse


claudioIM

public static void claudioIM()
Start gaim


claudioGimp

public static void claudioGimp()
Start gimp


claudioIRC

public static void claudioIRC()
Start xchat


claudioUsenet

public static void claudioUsenet()
Start xchat


main

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

Parameters:
args - ignored