public class Strings extends Object
This file contains a number of commonly occurring String Literals that are often used in the system across a number of Classes. Including them here avoid duplication and the potential for typographical errors in usage.
Classes with commonly occurring Strings, local to that class, should consider extending this class as a private inner class rather then clutter this list with very niche references. For example:
private static class Strings extends com.googlecode.fascinator.common.Strings {
// Default email values
public static String DEFAULT_EMAIL_SUBJECT = "An Error has occurred";
public static String DEFAULT_EMAIL_TEMPLATE = "ERROR: [[MESSAGE]]\n\n====\n\n[[ERROR]]";
}
| Modifier and Type | Field and Description |
|---|---|
static String |
PACKAGE_FILE_EXTENSION
Packaging
|
static String |
WORKFLOW_PAYLOAD_ID
Workflows
|
| Constructor and Description |
|---|
Strings() |
Copyright © 2009-2013. All Rights Reserved.