@InterfaceAudience.Private public class Step extends Object implements Comparable<Step>
Phase of startup.| Constructor and Description |
|---|
Step(StepType type)
Creates a new Step.
|
Step(StepType type,
String file)
Creates a new Step.
|
Step(StepType type,
String file,
long size)
Creates a new Step.
|
Step(String file)
Creates a new Step.
|
Step(String file,
long size)
Creates a new Step.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Step other) |
boolean |
equals(Object otherObj) |
String |
getFile()
Returns the optional file name, possibly null.
|
long |
getSize()
Returns the optional size in bytes, possibly Long.MIN_VALUE if undefined.
|
StepType |
getType()
Returns the optional step type, possibly null.
|
int |
hashCode() |
public Step(StepType type)
type - StepType type of steppublic Step(String file)
file - String filepublic Step(String file, long size)
file - String filesize - long size in bytespublic Step(StepType type, String file)
type - StepType type of stepfile - String filepublic int compareTo(Step other)
compareTo in interface Comparable<Step>public String getFile()
public long getSize()
public StepType getType()
Copyright © 2013 Apache Software Foundation. All rights reserved.