m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/UpdateAttributesMessage.java
blob: b9433845278bb43c03780b5a04c31873c7ce454b (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
package pl.edu.mimuw.cloudatlas.agent.messages;

import pl.edu.mimuw.cloudatlas.agent.modules.ModuleType;
import pl.edu.mimuw.cloudatlas.model.AttributesMap;

public class UpdateAttributesMessage extends StanikMessage {
    private String pathName;
    private AttributesMap attributes;

    public UpdateAttributesMessage(String messageId, long timestamp, String pathName, AttributesMap attributes) {
        super(messageId, timestamp, Type.UPDATE_ATTRIBUTES);
        this.pathName = pathName;
        this.attributes = attributes;
    }

    public UpdateAttributesMessage() {}

    public String getPathName() {
        return pathName;
    }

    public AttributesMap getAttributes() {
        return attributes;
    }
}