java

package
v0.0.0-...-83152a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AsyncSupported = "async-supported"
	FilterName     = "filter-name"
	FilterClass    = "filter-class"
	ServletName    = "servlet-name"
	ServletClass   = "servlet-class"
	URLPattern     = "url-pattern"
)

Variables

This section is empty.

Functions

func NewJUnitCmd

func NewJUnitCmd() *cobra.Command

func NewJaCoCoCmd

func NewJaCoCoCmd() *cobra.Command

func NewJavaCmd

func NewJavaCmd() *cobra.Command

func NewKeystoreCmd

func NewKeystoreCmd() *cobra.Command

func NewLog4jCmd

func NewLog4jCmd() *cobra.Command

func NewWebXMLCmd

func NewWebXMLCmd() *cobra.Command

Types

type CovRec

type CovRec struct {
	Group     string `json:"group"`
	Pkg       string `json:"pkg"`
	Class     string `json:"class"`
	InstrMis  int    `json:"instruction_missed"`
	InstrCov  int    `json:"instruction_covered"`
	BranchMis int    `json:"branch_missed"`
	BranchCov int    `json:"branch_covered"`
	LineMis   int    `json:"line_missed"`
	LineCov   int    `json:"line_covered"`
	ComplMis  int    `json:"complexity_missed"`
	ComplCov  int    `json:"complexity_covered"`
	MethMis   int    `json:"method_missed"`
	MethCov   int    `json:"method_covered"`
}

type Entry

type Entry any

type Filter

type Filter map[string]any

func (Filter) String

func (f Filter) String() string

type FilterMapping

type FilterMapping struct {
	Pattern string   `json:"url-pattern"`
	Filters []Filter `json:"filters"`
}

func (FilterMapping) String

func (fm FilterMapping) String() string

type Servlet

type Servlet map[string]any

func (Servlet) String

func (s Servlet) String() string

type ServletMapping

type ServletMapping struct {
	Pattern string          `json:"url-pattern"`
	Servlet Servlet         `json:"servlet"`
	Chain   []FilterMapping `json:"filter-mappings,omitempty"`
}

func (ServletMapping) String

func (sm ServletMapping) String() string

type WebApp

type WebApp struct {
	Mapping []ServletMapping `json:"servlet-mappings"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL