01: /**
02: * $Id: OSTasks.java,v 1.10 2006/07/28 02:40:07 portalbld Exp $
03: * Copyright 2004 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.fabric.util.os;
14:
15: import java.util.*;
16:
17: public interface OSTasks {
18:
19: public static final String COMMAND = "Command";
20: public static final String DAYOFTHEWEEK = "DayOfTheWeek";
21: public static final String HOUR = "Hour";
22: public static final String MINUTE = "Minute";
23:
24: public void scheduling(String action, String mode);
25:
26: public ArrayList getSchedules(String command);
27:
28: public ArrayList schedules();
29:
30: public void schedule();
31:
32: public void unschedule();
33:
34: public void preconfig();
35:
36: public void postconfig();
37:
38: public void preunconfig();
39:
40: public void postunconfig();
41:
42: public String getValue(String key);
43:
44: public void setValue(String key, String value);
45:
46: public String getPatchInfo();
47:
48: public String getPatchVerbose();
49:
50: public void createSymbolicLink(String source, String target);
51:
52: public void removeSymbolicLink(String target);
53:
54: public void addNetFilePAM();
55:
56: }
|