public abstract class NameStrategy extends Object implements Function<USMFStatus,String>
USMFStatus
instance, construct a String
which is used as the "name" of the "user" which created this
social media artifactConstructor and Description |
---|
NameStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
apply(USMFStatus in)
Apply the function to the input argument and return the result.
|
abstract String |
createName(USMFStatus stat) |
public NameStrategy()
public abstract String createName(USMFStatus stat)
stat
- public String apply(USMFStatus in)
Function
apply
in interface Function<USMFStatus,String>
in
- the input object