FileDocCategorySizeDatePackage
ReportTarget.javaAPI DocGlassfish v2 API4522Fri May 04 22:34:40 BST 2007com.sun.enterprise.diagnostics

ReportTarget

public class ReportTarget extends Object
author
mu125243

Fields Summary
protected String
targetDir
protected String
targetName
protected String
repositoryName
protected String
repositoryDir
protected TargetType
type
protected List
instances
private boolean
local
private static Logger
logger
Constructors Summary
public ReportTarget(String repositoryDir, String repositoryName, String targetName, TargetType type, List instances, boolean local)
Creates a new instance of ReportServiceConfig

    
           
           
                  
        this.repositoryDir = repositoryDir;
        this.repositoryName = repositoryName;
        this.targetDir = repositoryDir + File.separator + repositoryName;
        this.targetName = targetName;
        this.type = type;
        this.instances = instances;
        this.local = local;
      
    
Methods Summary
public java.lang.StringgetArchiveDir()

        return repositoryDir + File.separator +
                repositoryName + Defaults.TEMP_REPORT_FOLDER;
    
public java.lang.StringgetDefaultReportDir()

return
default directory in which diagnostic report is stored

        return targetDir + Defaults.REPORT_FOLDER;
    
public java.util.ListgetInstances()

        return instances;
    
public java.lang.StringgetIntermediateReportDir()

return
name of the temp folder in which data is collected before compressing it

        return  getArchiveDir() + File.separator + targetName; 
    
public java.lang.StringgetName()
Returns target name

return
target name

        return targetName;
    
public java.lang.StringgetRepositoryDir()

return
name of the central/cache repository

          return repositoryDir;
    
public java.lang.StringgetRepositoryName()

        return repositoryName;
    
public java.lang.StringgetTargetDir()

        return targetDir;
    
public TargetTypegetType()
Retrieves the type of this target

return
target type

        return type;
    
public java.lang.StringtoString()

        return getName() +"," + getType() + "," + getRepositoryDir() + "," +
                getIntermediateReportDir() + "," + getDefaultReportDir() + 
                "," + getInstances();