@Override
	public String[] profilesToActivate() {
		return (nameExpression != null || dirExpression != null) ? new String[] { USE_SPEL_PROFILE }
				: new String[] { USE_LITERAL_STRING_PROFILE };
	}
Return dot + suffix if suffix is set, or the empty string otherwise.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/modules/metadata/FileSinkOptionsMetadata.java