1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
5 <!-- Generated by javadoc on Mon Jun 09 15:53:38 PDT 2003 -->
7 Server.ExecutableTime (Java AFS API)
9 <META NAME="keywords" CONTENT="org.openafs.jafs.Server.ExecutableTime,Server.ExecutableTime class">
10 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
15 parent.document.title="Server.ExecutableTime (Java AFS API)";
18 <BODY BGCOLOR="white" onload="asd();">
20 <!-- ========== START OF NAVBAR ========== -->
21 <A NAME="navbar_top"><!-- --></A>
22 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
24 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
25 <A NAME="navbar_top_firstrow"><!-- --></A>
26 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
27 <TR ALIGN="center" VALIGN="top">
28 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
29 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
30 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Server.ExecutableTime.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
31 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
34 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
38 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
39 <B>JAFS API v2</B></EM>
44 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
45 <A HREF="../../../org/openafs/jafs/Server.html"><B>PREV CLASS</B></A>
46 <A HREF="../../../org/openafs/jafs/Token.html"><B>NEXT CLASS</B></A></FONT></TD>
47 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
48 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
49 <A HREF="Server.ExecutableTime.html" TARGET="_top"><B>NO FRAMES</B></A>
54 document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
59 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
64 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
66 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
70 <!-- =========== END OF NAVBAR =========== -->
73 <!-- ======== START OF CLASS DATA ======== -->
76 org.openafs.jafs</FONT>
78 Class Server.ExecutableTime</H2>
80 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">java.lang.Object</A>
82 +--<B>org.openafs.jafs.Server.ExecutableTime</B>
85 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html">Serializable</A></DD>
88 <DT><B>Enclosing class:</B><DD><A HREF="../../../org/openafs/jafs/Server.html">Server</A></DD>
92 <DT>public static final class <B>Server.ExecutableTime</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html">Serializable</A></DL>
96 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.openafs.jafs.Server.ExecutableTime">Serialized Form</A></DL>
100 <!-- ======== NESTED CLASS SUMMARY ======== -->
103 <!-- =========== FIELD SUMMARY =========== -->
105 <A NAME="field_summary"><!-- --></A>
106 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
107 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
108 <TD COLSPAN=2><FONT SIZE="+2">
109 <B>Field Summary</B></FONT></TD>
111 <TR BGCOLOR="white" CLASS="TableRowColor">
112 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
113 <CODE>static short</CODE></FONT></TD>
114 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#EVERYDAY">EVERYDAY</A></B></CODE>
117 </TD>
119 <TR BGCOLOR="white" CLASS="TableRowColor">
120 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121 <CODE>(package private) static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/text/DecimalFormat.html">DecimalFormat</A></CODE></FONT></TD>
122 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#formatter">formatter</A></B></CODE>
125 </TD>
127 <TR BGCOLOR="white" CLASS="TableRowColor">
128 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129 <CODE>static short</CODE></FONT></TD>
130 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#FRIDAY">FRIDAY</A></B></CODE>
133 </TD>
135 <TR BGCOLOR="white" CLASS="TableRowColor">
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137 <CODE>static short</CODE></FONT></TD>
138 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#MONDAY">MONDAY</A></B></CODE>
141 </TD>
143 <TR BGCOLOR="white" CLASS="TableRowColor">
144 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145 <CODE>static short</CODE></FONT></TD>
146 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#NEVER">NEVER</A></B></CODE>
149 </TD>
151 <TR BGCOLOR="white" CLASS="TableRowColor">
152 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153 <CODE>static short</CODE></FONT></TD>
154 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#NOW">NOW</A></B></CODE>
157 </TD>
159 <TR BGCOLOR="white" CLASS="TableRowColor">
160 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161 <CODE>static short</CODE></FONT></TD>
162 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#SATURDAY">SATURDAY</A></B></CODE>
165 </TD>
167 <TR BGCOLOR="white" CLASS="TableRowColor">
168 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169 <CODE>static short</CODE></FONT></TD>
170 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#SUNDAY">SUNDAY</A></B></CODE>
173 </TD>
175 <TR BGCOLOR="white" CLASS="TableRowColor">
176 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177 <CODE>static short</CODE></FONT></TD>
178 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#THURSDAY">THURSDAY</A></B></CODE>
181 </TD>
183 <TR BGCOLOR="white" CLASS="TableRowColor">
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185 <CODE>static short</CODE></FONT></TD>
186 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#TUESDAY">TUESDAY</A></B></CODE>
189 </TD>
191 <TR BGCOLOR="white" CLASS="TableRowColor">
192 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193 <CODE>static short</CODE></FONT></TD>
194 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#WEDNESDAY">WEDNESDAY</A></B></CODE>
197 </TD>
201 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
203 <A NAME="constructor_summary"><!-- --></A>
204 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
205 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
206 <TD COLSPAN=2><FONT SIZE="+2">
207 <B>Constructor Summary</B></FONT></TD>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>(package private)</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime()">Server.ExecutableTime</A></B>()</CODE>
215 Internal constructor used to construct an empty object that will
216 be passed to JNI for member synchronization of the BOS Server
217 executable time this object represents.</TD>
219 <TR BGCOLOR="white" CLASS="TableRowColor">
220 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221 <CODE> </CODE></FONT></TD>
222 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime(short)">Server.ExecutableTime</A></B>(short type)</CODE>
225 Constructs an <code>ExecutableTime</code> object that represents either
226 a "<CODE>now</CODE>" <B>or</B> "<CODE>never</CODE>" BOS Executable
231 <TR BGCOLOR="white" CLASS="TableRowColor">
232 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233 <CODE> </CODE></FONT></TD>
234 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime(short, short, short)">Server.ExecutableTime</A></B>(short second,
236 short hour)</CODE>
239 Constructs an <code>ExecutableTime</code> object that may be used to
240 represent a <U>daily</U> BOS Executable Restart Time of a process.</TD>
242 <TR BGCOLOR="white" CLASS="TableRowColor">
243 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244 <CODE> </CODE></FONT></TD>
245 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime(short, short, short, short)">Server.ExecutableTime</A></B>(short second,
248 short day)</CODE>
251 Constructs an <code>ExecutableTime</code> object that may be used to
252 represent the BOS Executable Restart Time of a process.</TD>
256 <!-- ========== METHOD SUMMARY =========== -->
258 <A NAME="method_summary"><!-- --></A>
259 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
260 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
261 <TD COLSPAN=2><FONT SIZE="+2">
262 <B>Method Summary</B></FONT></TD>
264 <TR BGCOLOR="white" CLASS="TableRowColor">
265 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
266 <CODE> boolean</CODE></FONT></TD>
267 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#equals(org.openafs.jafs.Server.ExecutableTime)">equals</A></B>(<A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html">Server.ExecutableTime</A> time)</CODE>
270 Tests whether two <code>ExecutableTime</code> objects are equal,
272 comparison of each of their respective properties. </TD>
274 <TR BGCOLOR="white" CLASS="TableRowColor">
275 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276 <CODE> short</CODE></FONT></TD>
277 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getDay()">getDay</A></B>()</CODE>
280 Returns a numeric representation of the day of this ExecutableTime
283 <TR BGCOLOR="white" CLASS="TableRowColor">
284 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
285 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
286 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getDayString()">getDayString</A></B>()</CODE>
289 Returns a String representation, name for the day of the week or
290 "Everyday", of this object's day property.
294 <TR BGCOLOR="white" CLASS="TableRowColor">
295 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296 <CODE> short</CODE></FONT></TD>
297 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getHour()">getHour</A></B>()</CODE>
300 Returns the hour of this ExecutableTime object, in 24 hour time.</TD>
302 <TR BGCOLOR="white" CLASS="TableRowColor">
303 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304 <CODE> short</CODE></FONT></TD>
305 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getMinute()">getMinute</A></B>()</CODE>
308 Returns the minute of this ExecutableTime object.</TD>
310 <TR BGCOLOR="white" CLASS="TableRowColor">
311 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312 <CODE> short</CODE></FONT></TD>
313 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getSecond()">getSecond</A></B>()</CODE>
316 Returns the second of this ExecutableTime object.</TD>
318 <TR BGCOLOR="white" CLASS="TableRowColor">
319 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320 <CODE> boolean</CODE></FONT></TD>
321 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#isNever()">isNever</A></B>()</CODE>
324 Returns whether or not the BOS restart time, represented by this
325 ExecutableTime object, is set to "<CODE>never</CODE>" or not.
328 <TR BGCOLOR="white" CLASS="TableRowColor">
329 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
330 <CODE> boolean</CODE></FONT></TD>
331 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#isNow()">isNow</A></B>()</CODE>
334 Returns whether or not the BOS restart time, represented by this
335 ExecutableTime object, is set to "<CODE>now</CODE>" or not.
338 <TR BGCOLOR="white" CLASS="TableRowColor">
339 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340 <CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
341 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#toString()">toString</A></B>()</CODE>
344 Returns the String representation of time value of this
345 <CODE>ExecutableTime</CODE> object.
350 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
351 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
352 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
353 <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></B></TD>
355 <TR BGCOLOR="white" CLASS="TableRowColor">
356 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
362 <!-- ============ FIELD DETAIL =========== -->
364 <A NAME="field_detail"><!-- --></A>
365 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
366 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
367 <TD COLSPAN=1><FONT SIZE="+2">
368 <B>Field Detail</B></FONT></TD>
372 <A NAME="NEVER"><!-- --></A><H3>
375 public static final short <B>NEVER</B></PRE>
378 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.NEVER">Constant Field Values</A></DL>
382 <A NAME="NOW"><!-- --></A><H3>
385 public static final short <B>NOW</B></PRE>
388 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.NOW">Constant Field Values</A></DL>
392 <A NAME="EVERYDAY"><!-- --></A><H3>
395 public static final short <B>EVERYDAY</B></PRE>
398 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.EVERYDAY">Constant Field Values</A></DL>
402 <A NAME="SUNDAY"><!-- --></A><H3>
405 public static final short <B>SUNDAY</B></PRE>
408 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.SUNDAY">Constant Field Values</A></DL>
412 <A NAME="MONDAY"><!-- --></A><H3>
415 public static final short <B>MONDAY</B></PRE>
418 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.MONDAY">Constant Field Values</A></DL>
422 <A NAME="TUESDAY"><!-- --></A><H3>
425 public static final short <B>TUESDAY</B></PRE>
428 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.TUESDAY">Constant Field Values</A></DL>
432 <A NAME="WEDNESDAY"><!-- --></A><H3>
435 public static final short <B>WEDNESDAY</B></PRE>
438 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.WEDNESDAY">Constant Field Values</A></DL>
442 <A NAME="THURSDAY"><!-- --></A><H3>
445 public static final short <B>THURSDAY</B></PRE>
448 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.THURSDAY">Constant Field Values</A></DL>
452 <A NAME="FRIDAY"><!-- --></A><H3>
455 public static final short <B>FRIDAY</B></PRE>
458 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.FRIDAY">Constant Field Values</A></DL>
462 <A NAME="SATURDAY"><!-- --></A><H3>
465 public static final short <B>SATURDAY</B></PRE>
468 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Server.ExecutableTime.SATURDAY">Constant Field Values</A></DL>
472 <A NAME="formatter"><!-- --></A><H3>
475 static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/text/DecimalFormat.html">DecimalFormat</A> <B>formatter</B></PRE>
481 <!-- ========= CONSTRUCTOR DETAIL ======== -->
483 <A NAME="constructor_detail"><!-- --></A>
484 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
485 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
486 <TD COLSPAN=1><FONT SIZE="+2">
487 <B>Constructor Detail</B></FONT></TD>
491 <A NAME="Server.ExecutableTime()"><!-- --></A><H3>
492 Server.ExecutableTime</H3>
494 <B>Server.ExecutableTime</B>()</PRE>
496 <DD>Internal constructor used to construct an empty object that will
497 be passed to JNI for member synchronization of the BOS Server
498 executable time this object represents.
503 <A NAME="Server.ExecutableTime(short)"><!-- --></A><H3>
504 Server.ExecutableTime</H3>
506 public <B>Server.ExecutableTime</B>(short type)
507 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></PRE>
509 <DD>Constructs an <code>ExecutableTime</code> object that represents either
510 a "<CODE>now</CODE>" <B>or</B> "<CODE>never</CODE>" BOS Executable
513 <P>Valid values for the <CODE>type</CODE> parameter are ExecutableTime.NOW
514 or ExecutableTime.NEVER. If a value other than these two is used an
515 IllegalArgumentException will be thrown.
517 <DT><B>Parameters:</B><DD><CODE>type</CODE> - either ExecutableTime.NOW or ExecutableTime.NEVER
519 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If a value other than ExecutableTime.NOW or
520 ExecutableTime.NEVER is used for the <CODE>type</CODE>
521 parameter.<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#isNow()"><CODE>isNow()</CODE></A>,
522 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#isNever()"><CODE>isNever()</CODE></A>,
523 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime(short, short, short)"><CODE>Server.ExecutableTime(short, short, short)</CODE></A></DL>
526 <A NAME="Server.ExecutableTime(short, short, short)"><!-- --></A><H3>
527 Server.ExecutableTime</H3>
529 public <B>Server.ExecutableTime</B>(short second,
532 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></PRE>
534 <DD>Constructs an <code>ExecutableTime</code> object that may be used to
535 represent a <U>daily</U> BOS Executable Restart Time of a process.
537 <DT><B>Parameters:</B><DD><CODE>second</CODE> - the second field for this representation of a
538 BOS Server restart time value (range: 0-59)<DD><CODE>minute</CODE> - the minute field for this representation of a
539 BOS Server restart time value (range: 0-59)<DD><CODE>hour</CODE> - the hour field for this representation of a BOS
540 Server restart time value (range: 0-23)
542 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If any of the parameters values are out of range
543 of their respective fields.<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime(short, short, short, short)"><CODE>Server.ExecutableTime(short, short, short, short)</CODE></A>,
544 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getSecond()"><CODE>getSecond()</CODE></A>,
545 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getMinute()"><CODE>getMinute()</CODE></A>,
546 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getHour()"><CODE>getHour()</CODE></A></DL>
549 <A NAME="Server.ExecutableTime(short, short, short, short)"><!-- --></A><H3>
550 Server.ExecutableTime</H3>
552 public <B>Server.ExecutableTime</B>(short second,
555 short day)</PRE>
557 <DD>Constructs an <code>ExecutableTime</code> object that may be used to
558 represent the BOS Executable Restart Time of a process.
560 <DT><B>Parameters:</B><DD><CODE>second</CODE> - the second field for this representation of a
561 BOS Server restart time value (range: 0-59)<DD><CODE>minute</CODE> - the minute field for this representation of a
562 BOS Server restart time value (range: 0-59)<DD><CODE>hour</CODE> - the hour field for this representation of a BOS
563 Server restart time value (range: 0-23)<DD><CODE>day</CODE> - the day field for this representation of a BOS
564 Server restart time value.<BR><UL>Valid values include:
565 <CODE>ExecutableTime.EVERYDAY</CODE> (see also <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime(short, short, short)"><CODE>Server.ExecutableTime(short, short, short)</CODE></A>)<BR>
567 ExecutableTime.SUNDAY<BR>
568 ExecutableTime.MONDAY<BR>
569 ExecutableTime.TUESDAY<BR>
570 ExecutableTime.WEDNESDAY<BR>
571 ExecutableTime.THURSDAY<BR>
572 ExecutableTime.FRIDAY<BR>
573 ExecutableTime.SATURDAY<BR>
576 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - If any of the parameters values are out of range
577 of their respective fields.<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#Server.ExecutableTime(short, short, short)"><CODE>Server.ExecutableTime(short, short, short)</CODE></A>,
578 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getSecond()"><CODE>getSecond()</CODE></A>,
579 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getMinute()"><CODE>getMinute()</CODE></A>,
580 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getHour()"><CODE>getHour()</CODE></A>,
581 <A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getDay()"><CODE>getDay()</CODE></A></DL>
583 <!-- ============ METHOD DETAIL ========== -->
585 <A NAME="method_detail"><!-- --></A>
586 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
587 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
588 <TD COLSPAN=1><FONT SIZE="+2">
589 <B>Method Detail</B></FONT></TD>
593 <A NAME="getSecond()"><!-- --></A><H3>
596 public short <B>getSecond</B>()
597 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></PRE>
599 <DD>Returns the second of this ExecutableTime object.
606 <DT><B>Returns:</B><DD>the second of this ExecutableTime object.
608 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - If the executable time this object represents has a value of
609 "<CODE>now</CODE>" or "<CODE>never</CODE>".</DL>
614 <A NAME="getMinute()"><!-- --></A><H3>
617 public short <B>getMinute</B>()
618 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></PRE>
620 <DD>Returns the minute of this ExecutableTime object.
627 <DT><B>Returns:</B><DD>the minute of this ExecutableTime object.
629 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - If the executable time this object represents has a value of
630 "<CODE>now</CODE>" or "<CODE>never</CODE>".</DL>
635 <A NAME="getHour()"><!-- --></A><H3>
638 public short <B>getHour</B>()
639 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></PRE>
641 <DD>Returns the hour of this ExecutableTime object, in 24 hour time.
648 <DT><B>Returns:</B><DD>the hour of this ExecutableTime object.
650 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - If the executable time this object represents has a value of
651 "<CODE>now</CODE>" or "<CODE>never</CODE>".</DL>
656 <A NAME="getDay()"><!-- --></A><H3>
659 public short <B>getDay</B>()
660 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></PRE>
662 <DD>Returns a numeric representation of the day of this ExecutableTime
663 object. If it is daily, the value of ExecutableTime.EVERYDAY is returned.
665 <P>Possible return values are:<BR>
667 ExecutableTime.EVERYDAY<BR>
669 ExecutableTime.SUNDAY<BR>
670 ExecutableTime.MONDAY<BR>
671 ExecutableTime.TUESDAY<BR>
672 ExecutableTime.WEDNESDAY<BR>
673 ExecutableTime.THURSDAY<BR>
674 ExecutableTime.FRIDAY<BR>
675 ExecutableTime.SATURDAY<BR>
683 <DT><B>Returns:</B><DD>a numeric representation of the day of this ExecutableTime
686 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - If the executable time this object represents has a value of
687 "<CODE>now</CODE>" or "<CODE>never</CODE>".</DL>
692 <A NAME="getDayString()"><!-- --></A><H3>
695 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getDayString</B>()
696 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></PRE>
698 <DD>Returns a String representation, name for the day of the week or
699 "Everyday", of this object's day property.
701 <P>Possible return values are:
719 <DT><B>Returns:</B><DD>the day of this ExecutableTime object.
721 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html">IllegalStateException</A></CODE> - If the executable time this object represents has a value of
722 "<CODE>now</CODE>" or "<CODE>never</CODE>".<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html#getDay()"><CODE>getDay()</CODE></A></DL>
727 <A NAME="isNow()"><!-- --></A><H3>
730 public boolean <B>isNow</B>()</PRE>
732 <DD>Returns whether or not the BOS restart time, represented by this
733 ExecutableTime object, is set to "<CODE>now</CODE>" or not.
734 This means that at some point in the past, when someone set it to
735 "<CODE>now</CODE>", the bosserver restarted all its processes,
743 <DT><B>Returns:</B><DD>whether or not the restart time is "<CODE>now</CODE>"</DL>
748 <A NAME="isNever()"><!-- --></A><H3>
751 public boolean <B>isNever</B>()</PRE>
753 <DD>Returns whether or not the BOS restart time, represented by this
754 ExecutableTime object, is set to "<CODE>never</CODE>" or not.
755 This means that the bosserver will never restart its processes.
762 <DT><B>Returns:</B><DD>whether or not the restart time is "<CODE>never</CODE>"</DL>
767 <A NAME="equals(org.openafs.jafs.Server.ExecutableTime)"><!-- --></A><H3>
770 public boolean <B>equals</B>(<A HREF="../../../org/openafs/jafs/Server.ExecutableTime.html">Server.ExecutableTime</A> time)</PRE>
772 <DD>Tests whether two <code>ExecutableTime</code> objects are equal,
774 comparison of each of their respective properties. If
775 "<CODE>now</CODE>" or "<CODE>never</CODE>" is set in either object,
776 only those properties are analyzed.
782 <DT><B>Parameters:</B><DD><CODE>time</CODE> - the ExecutableTime to test against
783 <DT><B>Returns:</B><DD>whether the specifed ExecutableTime is the same as this
784 ExecutableTime as defined above</DL>
789 <A NAME="toString()"><!-- --></A><H3>
792 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
794 <DD>Returns the String representation of time value of this
795 <CODE>ExecutableTime</CODE> object.
797 <P> Possible return values:<BR>
800 <LI> Day and time string in the form:<BR>
801 <CODE><day> at <hh>:<MM>[:<ss>]</CODE>
804 <B>Example Return Values:</B><PRE>
807 Everyday at 20:00</PRE>
810 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></CODE></DL>
814 <DT><B>Returns:</B><DD>the String representation of this <CODE>ExecutableTime</CODE>
818 <!-- ========= END OF CLASS DATA ========= -->
821 <!-- ========== START OF NAVBAR ========== -->
822 <A NAME="navbar_bottom"><!-- --></A>
823 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
825 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
826 <A NAME="navbar_bottom_firstrow"><!-- --></A>
827 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
828 <TR ALIGN="center" VALIGN="top">
829 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
830 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
831 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Server.ExecutableTime.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
832 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
833 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
834 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
835 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
839 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
840 <B>JAFS API v2</B></EM>
845 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
846 <A HREF="../../../org/openafs/jafs/Server.html"><B>PREV CLASS</B></A>
847 <A HREF="../../../org/openafs/jafs/Token.html"><B>NEXT CLASS</B></A></FONT></TD>
848 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
849 <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
850 <A HREF="Server.ExecutableTime.html" TARGET="_top"><B>NO FRAMES</B></A>
855 document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
860 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
865 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
866 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
867 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
868 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
871 <!-- =========== END OF NAVBAR =========== -->