|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.plugins.chucknorris.FactGenerator
public class FactGenerator
FactGenerator provides Chuck Norris facts.
| Field Summary | |
|---|---|
private static java.lang.String[] |
FACTS
The configured Chuck Norris facts, from http://www.codesqueeze.com/the-ultimate-top-25-chuck-norris-the- programmer-jokes/. |
private static java.util.Random |
RANDOM
Random instance. |
| Constructor Summary | |
|---|---|
FactGenerator()
|
|
| Method Summary | |
|---|---|
java.lang.String |
random()
Retrieves a random fact. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String[] FACTS
private static final java.util.Random RANDOM
| Constructor Detail |
|---|
public FactGenerator()
| Method Detail |
|---|
public java.lang.String random()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||