EMMA Coverage Report (generated Mon Aug 23 17:21:34 CEST 2010)
[all classes][org.dcache.vehicles]

COVERAGE SUMMARY FOR SOURCE FILE [PnfsSetFileAttributes.java]

nameclass, %method, %block, %line, %
PnfsSetFileAttributes.java0%   (0/1)0%   (0/3)0%   (0/19)0%   (0/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PnfsSetFileAttributes0%   (0/1)0%   (0/3)0%   (0/19)0%   (0/8)
PnfsSetFileAttributes (PnfsId, FileAttributes): void 0%   (0/1)0%   (0/7)0%   (0/3)
PnfsSetFileAttributes (String, FileAttributes): void 0%   (0/1)0%   (0/9)0%   (0/4)
getFileAttributes (): FileAttributes 0%   (0/1)0%   (0/3)0%   (0/1)

1package org.dcache.vehicles;
2 
3import diskCacheV111.util.PnfsId;
4import diskCacheV111.vehicles.PnfsMessage;
5 
6/**
7 * Vehicle for setting files combined attributes.
8 *
9 * @since 1.9.4
10 */
11public class PnfsSetFileAttributes extends PnfsMessage {
12 
13    private static final long serialVersionUID = -6750531802534981651L;
14 
15    private FileAttributes _fileAttributes;
16 
17    /**
18     * Construct request by PnfsId.
19     *
20     * @param pnfsid
21     * @param attr
22     */
23    public PnfsSetFileAttributes(PnfsId pnfsid, FileAttributes attr) {
24        super(pnfsid);
25        _fileAttributes = attr;
26    }
27 
28    /**
29     * Construct request by path.
30     *
31     * @param path
32     * @param attr
33     */
34    public PnfsSetFileAttributes(String path, FileAttributes attr) {
35        setPnfsPath(path);
36        _fileAttributes = attr;
37    }
38 
39    /**
40     * Get requested attributes.
41     *
42     * @return
43     */
44    public FileAttributes getFileAttributes() {
45        return _fileAttributes;
46    }
47 
48}

[all classes][org.dcache.vehicles]
EMMA 2.0.5312 (C) Vladimir Roubtsov