Clover icon

sunshower-core

  1. Project Clover database Fri Apr 6 2018 03:27:42 UTC
  2. Package io.sunshower.service.orchestration.model

File ContentWrittenEvent.java

 

Coverage histogram

../../../../../img/srcFileCovDistChart0.png
60% of files have more coverage

Code metrics

0
13
7
1
55
46
7
0.54
1.86
7
1

Classes

Class Line # Actions
ContentWrittenEvent 8 13 7
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package io.sunshower.service.orchestration.model;
2   
3    import io.sunshower.common.Identifier;
4    import io.sunshower.service.hal.core.Content;
5    import io.sunshower.service.hal.core.Element;
6    import io.sunshower.service.model.PropertyAwareObject;
7   
 
8    public class ContentWrittenEvent extends TemplateEvent {
9    private final Content content;
10    private final String data;
11    private final Identifier targetId;
12    private final Template entity;
13    private final Class<? extends PropertyAwareObject> targetType;
14    private final Element target;
15   
 
16  0 toggle public ContentWrittenEvent(
17    Template entity,
18    String s,
19    Identifier targetId,
20    Class<? extends PropertyAwareObject> targetType,
21    Content content,
22    Element target) {
23  0 super(Type.ContentWritten);
24  0 this.data = s;
25  0 this.target = target;
26  0 this.entity = entity;
27  0 this.targetId = targetId;
28  0 this.content = content;
29  0 this.targetType = targetType;
30    }
31   
 
32  0 toggle public Element getTarget() {
33  0 return target;
34    }
35   
 
36  0 toggle public Content getContent() {
37  0 return content;
38    }
39   
 
40  0 toggle public String getData() {
41  0 return data;
42    }
43   
 
44  0 toggle public Template getEntity() {
45  0 return entity;
46    }
47   
 
48  0 toggle public Identifier getTargetId() {
49  0 return targetId;
50    }
51   
 
52  0 toggle public Class<? extends PropertyAwareObject> getTargetType() {
53  0 return targetType;
54    }
55    }