public static List < String > getTags ( ) { List < String > tags = new ArrayList < String > ( ) ; for ( String writerProperty : Configuration . getSiblings ( "writer" ) . keySet ( ) ) { String tag = Configuration . get ( writerProperty + ".tag" ) ; if ( tag != null && ! tag . isEmpty ( ) && ! tag . equals ( "-" ) && ! tags . contains ( tag ) ) { tags . add ( tag ) ; } } return tags ; }
Loads all tags from writers in configuration .