Skip to content

Commit

Permalink
Added getAllSessionData() to the Conversation API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Bennett authored and SpigotMC committed Jan 19, 2014
1 parent e626aeb commit 9fe3fdf
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ public Conversable getForWhom() {
return forWhom;
}

/**
* Gets the entire sessionData map.
* @return The full sessionData map.
*/
public Map<Object, Object> getAllSessionData() {
return sessionData;
}

/**
* Gets session data shared between all {@link Prompt} invocations. Use
* this as a way to pass data through each Prompt as the conversation
Expand Down

0 comments on commit 9fe3fdf

Please sign in to comment.