-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/main/java/be/maximvdw/spigotsite/api/forum/ProfilePost.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package be.maximvdw.spigotsite.api.forum; | ||
|
||
import be.maximvdw.spigotsite.api.user.User; | ||
|
||
import java.util.Date; | ||
|
||
/** | ||
* ProfilePost | ||
* Created by Maxim on 28/02/2018. | ||
*/ | ||
public interface ProfilePost { | ||
/** | ||
* Get the author of the post | ||
* | ||
* @return Spigot User | ||
*/ | ||
User getAuthor(); | ||
|
||
/** | ||
* Get post date | ||
* | ||
* @return post date | ||
*/ | ||
Date getPostDate(); | ||
|
||
/** | ||
* Get profile message | ||
* | ||
* @return profile message | ||
*/ | ||
String getMessage(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters