com.googlecode.fascinator.common
Class Strings

java.lang.Object
  extended by com.googlecode.fascinator.common.Strings

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]]";
 }
 

Author:
Greg Pendlebury

Field Summary
static String PACKAGE_FILE_EXTENSION
          Packaging
static String WORKFLOW_PAYLOAD_ID
          Workflows
 
Constructor Summary
Strings()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_FILE_EXTENSION

public static String PACKAGE_FILE_EXTENSION
Packaging


WORKFLOW_PAYLOAD_ID

public static String WORKFLOW_PAYLOAD_ID
Workflows

Constructor Detail

Strings

public Strings()


Copyright © 2009-2012. All Rights Reserved.