1 package com.atlassian.plugin.elements;
2
3 import java.util.Map;
4
5
6
7
8 public class ResourceLocation
9 {
10 private String location;
11 private String name;
12 private String type;
13 private String contentType;
14 private String content;
15 private Map<String,String> params;
16
17 public ResourceLocation(String location, String name, String type, String contentType, String content, Map<String,String> params)
18 {
19 this.location = location;
20 this.name = name;
21 this.type = type;
22 this.contentType = contentType;
23 this.content = content;
24 this.params = params;
25 }
26
27 public String getLocation()
28 {
29 return location;
30 }
31
32 public String getName()
33 {
34 return name;
35 }
36
37 public String getType()
38 {
39 return type;
40 }
41
42 public String getContentType()
43 {
44 return contentType;
45 }
46
47 public String getContent()
48 {
49 return content;
50 }
51
52 public String getParameter(String key)
53 {
54 return params.get(key);
55 }
56 }