aboutsummaryrefslogtreecommitdiff
path: root/subsonic-booter/src/main/java/net/sourceforge/subsonic/booter/deployer/DeploymentStatus.java
blob: 3b237dc1fc31d88c9da0b99db505cf4be797b493 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package net.sourceforge.subsonic.booter.deployer;

import java.util.Date;
import java.io.Serializable;

/**
 * @author Sindre Mehus
 */
public class DeploymentStatus implements Serializable {

    private final Date startTime;
    private final String url;
    private final String httpsUrl;
    private final int memoryUsed;
    private final String errorMessage;

    public DeploymentStatus(Date startTime, String url, String httpsUrl, int memoryUsed, String errorMessage) {
        this.startTime = startTime;
        this.url = url;
        this.httpsUrl = httpsUrl;
        this.memoryUsed = memoryUsed;
        this.errorMessage = errorMessage;
    }

    public String getURL() {
        return url;
    }

    public String getHttpsUrl() {
        return httpsUrl;
    }

    public Date getStartTime() {
        return startTime;
    }

    public int getMemoryUsed() {
        return memoryUsed;
    }

    public String getErrorMessage() {
        return errorMessage;
    }
}