blob: 6c308a4395c2cb3633245a2ca4d13bbad49b08e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi;
/**
* Parameters for creating or opening a visitor destination session.
*
* @author <a href="mailto:thomasg@yahoo-inc.com">Thomas Gundersen</a>
*/
public class VisitorDestinationParameters extends Parameters {
private String sessionName;
private VisitorDataHandler dataHandler;
/**
* Creates visitor destination parameters from the supplied parameters.
*
* @param sessionName The name of the destination session.
* @param handler The data handler.
*/
public VisitorDestinationParameters(String sessionName, VisitorDataHandler handler) {
this.sessionName = sessionName;
dataHandler = handler;
}
/** @return the name of the destination session */
public String getSessionName() { return sessionName; };
/** @return the data handler */
public VisitorDataHandler getDataHandler() { return dataHandler; };
}
|